diff --git a/schema.sql b/schema.sql index 137e947..c27d523 100644 --- a/schema.sql +++ b/schema.sql @@ -69,7 +69,7 @@ CREATE TABLE IF NOT EXISTS users ( flags int DEFAULT 0, -- nitro status encoded in here - premium bool DEFAULT false, + premium_since timestamp without time zone default NULL, -- private info phone varchar(60) DEFAULT '', @@ -78,6 +78,7 @@ CREATE TABLE IF NOT EXISTS users ( PRIMARY KEY (id, username, discriminator) ); + -- main user settings CREATE TABLE IF NOT EXISTS user_settings ( id bigint REFERENCES users (id),