commit - 78870362ed9059e465207465ce56c4b6c1aa9f14
commit + 94bf7a714ccd949f7c0f778f52c844bff1583d5c
blob - 1b71f51716513895246584983f3f511ae6d299a2
blob + d12207032804071768ac0dd95ce20073505207f9
--- table.sql
+++ table.sql
username VARCHAR(32),
email VARCHAR(100),
password VARCHAR(100),
- localtime VARCHAR(100),
+ localtime INTEGER DEFAULT (unixepoch()),
+ datetime VARCHAR(25) AS (datetime(localtime, 'unixepoch')),
captcha INTEGER
);
CREATE TABLE shell (
username VARCHAR(32),
email VARCHAR(100),
password VARCHAR(100),
- localtime VARCHAR(100),
+ localtime INTEGER DEFAULT (unixepoch()),
+ datetime VARCHAR(25) AS (datetime(localtime, 'unixepoch')),
captcha INTEGER
);
CREATE TABLE mail (
username VARCHAR(32),
email VARCHAR(100),
password VARCHAR(100),
- localtime VARCHAR(100),
+ localtime INTEGER DEFAULT (unixepoch()),
+ datetime VARCHAR(25) AS (datetime(localtime, 'unixepoch')),
captcha INTEGER
);
CREATE TABLE www (
identified INTEGER,
ctcpversion VARCHAR(100),
ctcptime VARCHAR(100),
- localtime VARCHAR(100),
+ localtime INTEGER DEFAULT (unixepoch()),
+ datetime VARCHAR(25) AS (datetime(localtime, 'unixepoch')),
oper INTEGER,
idle INTEGER,
ssl INTEGER,