This commit is contained in:
Moritz Riese
2024-12-29 01:20:01 +01:00
parent 90341b277c
commit 182ce5af6b
12 changed files with 276 additions and 31 deletions

View File

@@ -0,0 +1,8 @@
CREATE TABLE `users_table` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`name` text NOT NULL,
`discord_id` integer NOT NULL,
`took_medication_today` integer DEFAULT 0 NOT NULL
);
--> statement-breakpoint
CREATE UNIQUE INDEX `users_table_discord_id_unique` ON `users_table` (`discord_id`);