Add Migrations

This commit is contained in:
Samuel Lorch 2024-05-05 01:27:39 +02:00
parent 952bb316c2
commit e426c580f5
8 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,8 @@
CREATE TABLE IF NOT EXISTS files(
id serial PRIMARY KEY,
library_id integer REFERENCES libraries(id) NOT NULL,
size integer NOT NULL,
missing boolean NOT NULL,
path VARCHAR (500) NOT NULL
);