1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #206: Table creation redefinition (only Sqlite compilant)

This commit is contained in:
Carlos Martín 2010-04-26 17:54:20 +02:00 committed by Constantino Vázquez Blanco
parent e98aff5510
commit 7418d6fa4f

View File

@ -53,8 +53,8 @@ const char * User::table = "user_pool";
const char * User::db_names = "(oid,user_name,password,enabled)";
const char * User::db_bootstrap = "CREATE TABLE user_pool ("
"oid INTEGER,user_name TEXT,password TEXT,"
"enabled INTEGER, PRIMARY KEY(oid,user_name), UNIQUE(user_name))";
"oid INTEGER PRIMARY KEY, user_name TEXT, password TEXT,"
"enabled INTEGER, UNIQUE(user_name))";
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */