Database basic CRUD (#27)
* started schema * db schemas beginning * first db schema gen * added sqlc generation with go generate and sqlite driver * i think these dependencies are needed * added IF NOT EXISTS to create and CRUD for each table * fixed missing columns * added missing field * fixed code generation with sqlc
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
CREATE TABLE IF NOT EXISTS artists (
|
||||
id int PRIMARY KEY,
|
||||
name text NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user