From 29561fb202f5c88ed7bb4a56ed9b04423ae1f58f Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 28 Oct 2024 20:10:12 -0700 Subject: [PATCH] Basic database layout --- db/readme.md | 4 ++++ db/tables.sql | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 db/readme.md create mode 100644 db/tables.sql diff --git a/db/readme.md b/db/readme.md new file mode 100644 index 0000000..92e6e32 --- /dev/null +++ b/db/readme.md @@ -0,0 +1,4 @@ +# Database Schema Layout and Design + + + diff --git a/db/tables.sql b/db/tables.sql new file mode 100644 index 0000000..338c52a --- /dev/null +++ b/db/tables.sql @@ -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) +);