Basic database layout
This commit is contained in:
4
db/readme.md
Normal file
4
db/readme.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Database Schema Layout and Design
|
||||
|
||||
|
||||
|
||||
12
db/tables.sql
Normal file
12
db/tables.sql
Normal file
@@ -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