Another emoji reaction bot(this one is for Discord)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
223 B

CREATE TABLE user_programs (
id SERIAL PRIMARY KEY,
discord_user_id NUMERIC NOT NULL,
name VARCHAR NOT NULL,
code TEXT NOT NULL
);
CREATE UNIQUE INDEX user_programs_name_id_index ON user_programs (
discord_user_id,
name
);