town/sql/create_invites_db.sql

8 lines
204 B
MySQL
Raw Normal View History

CREATE TABLE IF NOT EXISTS invites (
id INTEGER PRIMARY KEY,
created TEXT DEFAULT (strftime('%Y-%m-%dT%H:%M', 'now', 'localtime')),
code TEXT,
email TEXT,
used INTEGER DEFAULT 0
);