09.02.2017, 08:35
I am getting this error while trying to implement a SQLite database.
How exactly do I fit all this in, and/or how would I split all this into multiple lines, and still have it work?
Код:
db_query(database, "CREATE TABLE IF NOT EXISTS users (userid INTEGER PRIMARY KEY AUTOINCREMENT, username VARCHAR(24) COLLATE NOCASE, password VARCHAR(129), score INTEGER DEFAULT 0 NOT NULL, cash INTEGER DEFAULT 0 NOT NULL, bank_cash INTEGER DEFAULT 0 NOT NULL, admin INTEGER DEFAULT 0 NOT NULL, kills INTEGER DEFAULT 0 NOT NULL, deaths INTEGER DEFAULT 0 NOT NULL, jail_time INTEGER DEFAULT 0 NOT NULL, rp INTEGER DEFAULT 0 NOT NULL, vip INTEGER DEFAULT 0 NOT NULL, cop_rank INTEGER DEFAULT 0 NOT NULL, army INTEGER DEFAULT 0 NOT NULL)");