post-W7 cleanup
This commit is contained in:
@@ -25,7 +25,7 @@ RENDER(Request& context)
|
||||
SQLite* db = sqlite_connect(db_path);
|
||||
check("sqlite_connect()", db && db->connection != 0 && sqlite_error(db) == "connected", sqlite_error(db));
|
||||
|
||||
sqlite_query(db, "create table users(id integer primary key autoincrement, email text not null unique, visits integer not null, rating real not null)");
|
||||
sqlite_query(db, "create table users(id integer primary key autoincrement, email text not null unique, visits integer not null, rating numeric not null)");
|
||||
check("sqlite create table", sqlite_error(db) == "ok", sqlite_error(db));
|
||||
|
||||
sqlite_query(db, "create table dropped(id integer); insert into dropped values(1);");
|
||||
|
||||
Reference in New Issue
Block a user