after reading the documentation, crazy right? I figured out i was making my life hard, this makes my life easy again
6 lines
212 B
SQL
6 lines
212 B
SQL
-- Your SQL goes here
|
|
CREATE TABLE invites (
|
|
id varchar(32) PRIMARY KEY NOT NULL,
|
|
guild_uuid uuid NOT NULL REFERENCES guilds(uuid) ON DELETE CASCADE,
|
|
user_uuid uuid NOT NULL REFERENCES users(uuid)
|
|
);
|