refactor: clean up db stuff; start comments stuff
This commit is contained in:
parent
f980115d45
commit
fed9c01370
9 changed files with 174 additions and 118 deletions
5
src/migrations/002_comments.sql
Normal file
5
src/migrations/002_comments.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
create table comments (
|
||||
id integer primary key,
|
||||
plant_id integer references plants (id),
|
||||
comment text not null
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue