Add item creation and "get all" endpoints.
This commit is contained in:
1 parent
076a224bcc
commit
4617f950bf
9 files changed
+62
-6
No files matched your search
@@ -0,0 +1,14 @@
|
||||
\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 NULL
|
||||
);
|
||||
Reference in new issue
Block a user