Skip to content

Commit

Permalink
feat(be): add field app to template
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin-quiz committed Jan 29, 2024
1 parent 01684fc commit 7e213af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions db/Migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func GetMigrations() []Migration {
{Version: "2.8.58"},
{Version: "2.8.91"},
{Version: "2.9.6"},
{Version: "2.9.46"},
}
}

Expand Down
2 changes: 1 addition & 1 deletion db/Template.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
type TemplateApp string

const (
TemplateAnsible = ""
TemplateAnsible = "ansible"
TemplateTerraform = "terraform"
)

Expand Down
1 change: 1 addition & 0 deletions db/sql/migrations/v2.9.46.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE project__template ADD `app` varchar(50) NOT NULL DEFAULT 'ansible';

0 comments on commit 7e213af

Please sign in to comment.