Add item creation and "get all" endpoints.
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
\c virtual_threads_db;
|
||||
|
||||
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
||||
|
||||
CREATE TABLE IF NOT EXISTS catalog (
|
||||
id UUID NOT NULL PRIMARY KEY,
|
||||
name VARCHAR NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS item (
|
||||
id UUID NOT NULL PRIMARY KEY,
|
||||
name VARCHAR NOT NULL,
|
||||
shared_date TIMESTAMP WITH TIME ZONE NOT NULL
|
||||
);
|
||||
Reference in New Issue
Block a user