mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
feature #200: Image pool table definition changed to be compatible with both MySQL and Sqlite.
This commit is contained in:
parent
46b6bedba7
commit
32ee8966b9
@ -49,7 +49,7 @@ const char * Image::db_names = "(oid, uid, name, type, regtime, "
|
||||
|
||||
const char * Image::db_bootstrap = "CREATE TABLE IF NOT EXISTS image_pool ("
|
||||
"oid INTEGER PRIMARY KEY, uid INTEGER, name VARCHAR(128), "
|
||||
"type INTEGER, regtime INTEGER, source VARCHAR, state INTEGER, "
|
||||
"type INTEGER, regtime INTEGER, source TEXT, state INTEGER, "
|
||||
"running_vms INTEGER, UNIQUE(name) )";
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user