use diesel to manage SQL
This commit is contained in:
parent
888ada6a07
commit
01566042b3
4 changed files with 18 additions and 0 deletions
7
migrations/2025-06-20-111801_create_tasks/up.sql
Normal file
7
migrations/2025-06-20-111801_create_tasks/up.sql
Normal file
|
@ -0,0 +1,7 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE `tasks`(
|
||||
`id` INT4 NOT NULL PRIMARY KEY,
|
||||
`title` VARCHAR NOT NULL,
|
||||
`description` TEXT NOT NULL
|
||||
);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue