mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-09-12 19:53:00 +02: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