From c3454120f5e9ba2afd1c5e2f064df161174bb915 Mon Sep 17 00:00:00 2001 From: Cole Thompson Date: Fri, 22 Nov 2024 13:14:07 -0800 Subject: [PATCH] feat: create user table --- server/db/schema/users_temp.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 server/db/schema/users_temp.sql diff --git a/server/db/schema/users_temp.sql b/server/db/schema/users_temp.sql new file mode 100644 index 0000000..e742f39 --- /dev/null +++ b/server/db/schema/users_temp.sql @@ -0,0 +1,8 @@ +CREATE TABLE users ( + id INT PRIMARY KEY UNIQUE NOT NULL DEFAULT nextval('user_id_seq'), + first_name VARCHAR(256) NOT NULL, + last_name VARCHAR(256) NOT NULL, + email VARCHAR(256) UNIQUE NOT NULL, + firebase_uid VARCHAR(128) UNIQUE NOT NULL, + edit_perms BOOL DEFAULT FALSE +); \ No newline at end of file