Init project

This commit is contained in:
2024-07-25 23:44:32 +02:00
parent 426cbe8777
commit 5092005816
11 changed files with 144 additions and 434 deletions

View File

@@ -0,0 +1,11 @@
CREATE TABLE `words` (
`id` integer PRIMARY KEY NOT NULL,
`word` text DEFAULT '',
`translation` text DEFAULT '',
`created_at` text DEFAULT (CURRENT_DATE)
);
--> statement-breakpoint
ALTER TABLE `users` RENAME TO `verbs`;--> statement-breakpoint
ALTER TABLE `verbs` RENAME COLUMN `name` TO `verb`;--> statement-breakpoint
ALTER TABLE `verbs` ADD `translation` text DEFAULT '';--> statement-breakpoint
ALTER TABLE `verbs` ADD `type` text;