Basic database layout
This commit is contained in:
1 parent
e85fa7b21c
commit
29561fb202
2 files changed
+16
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
# Database Schema Layout and Design
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS users (
|
||||||
|
id INTEGER,
|
||||||
|
name VARCHAR(256),
|
||||||
|
PRIMARY KEY (id)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS invites (
|
||||||
|
id BIGINT,
|
||||||
|
expires INTEGER,
|
||||||
|
PRIMARY KEY (id)
|
||||||
|
);
|
||||||
Reference in new issue
Block a user