feat: add diesel setup to project
This commit is contained in:
parent
faeebf8376
commit
18a321853a
14 changed files with 203 additions and 1 deletions
1
migrations/2025-01-13-114912_create_plants/down.sql
Normal file
1
migrations/2025-01-13-114912_create_plants/down.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
drop table plants;
|
||||
6
migrations/2025-01-13-114912_create_plants/up.sql
Normal file
6
migrations/2025-01-13-114912_create_plants/up.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
create table plants (
|
||||
id integer primary key not null,
|
||||
name text not null,
|
||||
species text not null,
|
||||
description text not null
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue