added IF NOT EXISTS to create and CRUD for each table

This commit is contained in:
2025-04-16 12:12:17 -05:00
parent faa25fe745
commit c20cac4015
18 changed files with 161 additions and 11 deletions
@@ -1,4 +1,4 @@
CREATE TABLE release_groups (
CREATE TABLE IF NOT EXISTS release_groups (
id int PRIMARY KEY,
name text NOT NULL,
FOREIGN KEY(cover_art_id) REFERENCES cover_art(id)