start creating server endpoints, database boilerplate

This commit is contained in:
2023-12-24 21:03:32 +00:00
parent c3ae3e91e4
commit 088d3bc0a0
27 changed files with 442 additions and 88 deletions

View File

@@ -0,0 +1 @@
DROP TABLE series;

View File

@@ -0,0 +1,7 @@
CREATE TABLE series (
id SERIAL PRIMARY KEY,
name VARCHAR NOT NULL,
repeat INTEGER NOT NULL,
good BOOLEAN NOT NULL,
category_id SERIAL REFERENCES categories(id)
);