actually start implementing the backend slowly
This commit is contained in:
parent
37ae49b66e
commit
342fd30d62
19 changed files with 977 additions and 136 deletions
7
drizzle/0005_mute_mephisto.sql
Normal file
7
drizzle/0005_mute_mephisto.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
CREATE TABLE `channel` (
|
||||
`id` text PRIMARY KEY NOT NULL,
|
||||
`name` text NOT NULL,
|
||||
`server_id` text NOT NULL,
|
||||
`messages` text DEFAULT '[]' NOT NULL,
|
||||
FOREIGN KEY (`server_id`) REFERENCES `server`(`id`) ON UPDATE no action ON DELETE no action
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue