feat: fully replace database operations with diesel

This commit is contained in:
Jef Roosens 2025-01-16 15:00:26 +01:00
parent d0ecb9357a
commit c7dc68926b
No known key found for this signature in database
GPG key ID: 21FD3D77D56BAF49
16 changed files with 227 additions and 224 deletions

View file

@ -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,