feat: fully replace database operations with diesel
This commit is contained in:
parent
d0ecb9357a
commit
c7dc68926b
16 changed files with 227 additions and 224 deletions
|
|
@ -1,6 +1,6 @@
|
|||
create table events (
|
||||
id bigint primary key not null,
|
||||
plant_id bigint not null
|
||||
id integer primary key not null,
|
||||
plant_id integer not null
|
||||
references plants (id)
|
||||
on delete cascade,
|
||||
event_type text not null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue