Skip to content

Commit 32f8b51

Browse files
committed
fix: add new migration correctly
Added the new pipelinesteps correctly to the array of migrations for pipelines.go
1 parent 31d1a94 commit 32f8b51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

store/pipeline.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ func (s *PipelineStore) Migrations() []migration.Func {
6565
duration bigint NOT NULL,
6666
CONSTRAINT pipeline_pkey PRIMARY KEY (type, owner, repository, pull_request, context, build)
6767
);
68+
69+
`), migration.ExecSQLFunc(`
6870
CREATE TABLE pipelinesteps (
6971
type VARCHAR NOT NULL,
7072
owner VARCHAR NOT NULL,

0 commit comments

Comments
 (0)