From 32f8b511f4e7ea60fb4614ce617186eb919a7522 Mon Sep 17 00:00:00 2001 From: erlandf Date: Mon, 17 Jun 2024 11:07:13 +0200 Subject: [PATCH] fix: add new migration correctly Added the new pipelinesteps correctly to the array of migrations for pipelines.go --- store/pipeline.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/store/pipeline.go b/store/pipeline.go index 9e16149..aca9c2c 100644 --- a/store/pipeline.go +++ b/store/pipeline.go @@ -65,6 +65,8 @@ func (s *PipelineStore) Migrations() []migration.Func { duration bigint NOT NULL, CONSTRAINT pipeline_pkey PRIMARY KEY (type, owner, repository, pull_request, context, build) ); + + `), migration.ExecSQLFunc(` CREATE TABLE pipelinesteps ( type VARCHAR NOT NULL, owner VARCHAR NOT NULL,