Added option for promotional emails to signup page

This commit is contained in:
2019-06-14 16:29:06 +10:00
parent 921693c12d
commit e1744d6964
5 changed files with 31 additions and 25 deletions
+2
View File
@@ -25,6 +25,7 @@ CREATE TABLE IF NOT EXISTS signups (
username VARCHAR(100) UNIQUE,
salt VARCHAR(50),
hash VARCHAR(100),
promotions BOOLEAN DEFAULT FALSE,
verify INTEGER DEFAULT 0
);
@@ -37,6 +38,7 @@ CREATE TABLE IF NOT EXISTS accounts (
username VARCHAR(100) UNIQUE,
salt VARCHAR(50),
hash VARCHAR(100),
promotions BOOLEAN DEFAULT FALSE,
lastActivityTime TIMESTAMP DEFAULT '2019-01-01 00:00:00'
);