From 7418d6fa4f80222255ea326641b20e1a2c1a7d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Mon, 26 Apr 2010 17:54:20 +0200 Subject: [PATCH] feature #206: Table creation redefinition (only Sqlite compilant) --- src/um/User.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/um/User.cc b/src/um/User.cc index 89c1536e67..c4c95b3ee1 100644 --- a/src/um/User.cc +++ b/src/um/User.cc @@ -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))"; /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */