chore: remove old migration files

image-uploads
Jef Roosens 2025-01-24 12:46:38 +01:00
parent 0c4fc0ef98
commit 51fa92ba3b
No known key found for this signature in database
GPG Key ID: 21FD3D77D56BAF49
4 changed files with 0 additions and 33 deletions

View File

@ -1,4 +0,0 @@
create table migration_version (
version integer,
updated_at integer
);

View File

@ -1,6 +0,0 @@
create table plants (
id integer primary key,
name text not null,
species text not null,
description text not null
);

View File

@ -1,9 +0,0 @@
create table events (
id integer primary key,
plant_id integer not null
references plants (id)
on delete cascade,
event_type text not null,
date text not null,
description text not null
);

View File

@ -1,14 +0,0 @@
create table users (
id integer primary key,
username text unique not null,
password_hash text not null,
admin boolean not null
);
create table sessions (
id integer primary key,
user_id integer not null
references users (id)
on delete cascade,
unique (id, user_id)
);