mirror of
https://github.com/grafana/grafana.git
synced 2024-12-24 08:00:08 -06:00
Unistore: fix fodler migration (#96299)
configure default migration for resource folder
This commit is contained in:
parent
749f59b3e3
commit
f4e91da6b1
@ -114,11 +114,11 @@ func initResourceTables(mg *migrator.Migrator) string {
|
||||
}))
|
||||
|
||||
mg.AddMigration("Add column folder in resource_history", migrator.NewAddColumnMigration(resource_history_table, &migrator.Column{
|
||||
Name: "folder", Type: migrator.DB_NVarchar, Length: 253, Nullable: false, Default: "",
|
||||
Name: "folder", Type: migrator.DB_NVarchar, Length: 253, Nullable: false, Default: "''",
|
||||
}))
|
||||
|
||||
mg.AddMigration("Add column folder in resource", migrator.NewAddColumnMigration(resource_table, &migrator.Column{
|
||||
Name: "folder", Type: migrator.DB_NVarchar, Length: 253, Nullable: false, Default: "",
|
||||
Name: "folder", Type: migrator.DB_NVarchar, Length: 253, Nullable: false, Default: "''",
|
||||
}))
|
||||
|
||||
return marker
|
||||
|
Loading…
Reference in New Issue
Block a user