mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #: Fix index creation on migrators (#4442)
This commit is contained in:
parent
f6f1b76539
commit
e11a790fb1
@ -98,12 +98,12 @@ class OneDBBacKEnd
|
||||
"body MEDIUMTEXT, uid INTEGER, gid INTEGER," <<
|
||||
"owner_u INTEGER, group_u INTEGER, other_u INTEGER",
|
||||
|
||||
index_sql: ["CREATE INDEX state_oid_idx ON vm_pool (state, oid);",
|
||||
"CREATE FULLTEXT INDEX ftidx ON vm_pool(search_token);",
|
||||
"CREATE INDEX applied_idx ON logdb (applied);"],
|
||||
index_sql: ["CREATE INDEX IF NOT EXISTS state_oid_idx ON vm_pool (state, oid);",
|
||||
"CREATE FULLTEXT INDEX IF NOT EXISTS ftidx ON vm_pool(search_token);",
|
||||
"CREATE INDEX IF NOT EXISTS applied_idx ON logdb (applied);"],
|
||||
|
||||
index_sqlite: ["CREATE INDEX state_oid_idx ON vm_pool (state, oid);",
|
||||
"CREATE INDEX applied_idx ON logdb (applied);"]
|
||||
index_sqlite: ["CREATE INDEX IF NOT EXISTS state_oid_idx ON vm_pool (state, oid);",
|
||||
"CREATE INDEX IF NOT EXISTS applied_idx ON logdb (applied);"]
|
||||
},
|
||||
"5.10.0" => {
|
||||
logdb: "log_index BIGINT UNSIGNED PRIMARY KEY, term INTEGER, sqlcmd MEDIUMTEXT, " <<
|
||||
|
Loading…
x
Reference in New Issue
Block a user