mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
feat: add project type
This commit is contained in:
parent
13e1cac83e
commit
b1396dcae2
@ -64,6 +64,7 @@ func GetMigrations() []Migration {
|
||||
{Version: "2.9.46"},
|
||||
{Version: "2.9.60"},
|
||||
{Version: "2.9.61"},
|
||||
{Version: "2.9.62"},
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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"`
|
||||
}
|
||||
|
1
db/sql/migrations/v2.9.62.sql
Normal file
1
db/sql/migrations/v2.9.62.sql
Normal file
@ -0,0 +1 @@
|
||||
alter table project add `type` varchar(20) default '';
|
Loading…
Reference in New Issue
Block a user