servers, channels, roles, invites, etc. #9

Merged
radical merged 34 commits from wip/messaging into main 2025-05-18 18:13:39 +00:00
Showing only changes of commit 773f4ca977 - Show all commits

View file

@ -134,6 +134,11 @@ async fn main() -> Result<(), Error> {
user_uuid uuid NOT NULL REFERENCES users(uuid),
message varchar(4000) NOT NULL
);
CREATE TABLE IF NOT EXISTS 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)
);
"#,
)
.execute(&pool)