feat: add project type

This commit is contained in:
fiftin 2024-03-07 19:50:48 +01:00
parent 13e1cac83e
commit b1396dcae2
3 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,7 @@ func GetMigrations() []Migration {
{Version: "2.9.46"},
{Version: "2.9.60"},
{Version: "2.9.61"},
{Version: "2.9.62"},
}
}

View File

@ -12,4 +12,5 @@ type Project struct {
Alert bool `db:"alert" json:"alert"`
AlertChat *string `db:"alert_chat" json:"alert_chat"`
MaxParallelTasks int `db:"max_parallel_tasks" json:"max_parallel_tasks"`
Type string `db:"type" json:"type"`
}

View File

@ -0,0 +1 @@
alter table project add `type` varchar(20) default '';