mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-10-28 23:25:05 +01:00
Migration SQL fix
This commit is contained in:
@@ -142,6 +142,10 @@ func InitDB() error {
|
||||
continue
|
||||
}
|
||||
|
||||
if jobMeta.Shared == "" {
|
||||
jobMeta.Shared = "none"
|
||||
}
|
||||
|
||||
id, err := r.TransactionAddNamed(t,
|
||||
repository.NamedJobInsert, jobMeta)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user