mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Preferences: Create indices (#48356)
This commit is contained in:
parent
623de12e35
commit
1ba25b2baa
@ -55,4 +55,7 @@ func addPreferencesMigrations(mg *Migrator) {
|
||||
// change column type of preferences.json_data
|
||||
mg.AddMigration("alter preferences.json_data to mediumtext v1", NewRawSQLMigration("").
|
||||
Mysql("ALTER TABLE preferences MODIFY json_data MEDIUMTEXT;"))
|
||||
|
||||
mg.AddMigration("Add preferences index org_id", NewAddIndexMigration(preferencesV2, preferencesV2.Indices[0]))
|
||||
mg.AddMigration("Add preferences index user_id", NewAddIndexMigration(preferencesV2, preferencesV2.Indices[1]))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user