|
-- Your SQL goes here
|
|
CREATE TABLE users (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
discord_id UNSIGNED BIG INT NOT NULL,
|
|
guild_id UNSIGNED BIG INT NOT NULL,
|
|
email TEXT UNIQUE NOT NULL,
|
|
first_name TEXT NOT NULL,
|
|
last_name TEXT NOT NULL,
|
|
|
|
UNIQUE(discord_id, guild_id)
|
|
);
|