1
0
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:
Carlos Martín 2010-05-27 16:24:43 +02:00 committed by Constantino Vázquez Blanco
parent 46b6bedba7
commit 32ee8966b9

View File

@ -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) )";
/* ------------------------------------------------------------------------ */