Skip to content

Commit

Permalink
feat: create user table
Browse files Browse the repository at this point in the history
  • Loading branch information
colet0227 committed Nov 22, 2024
1 parent f6cfeb6 commit c345412
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions server/db/schema/users_temp.sql
Original file line number Diff line number Diff line change
@@ -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
);

0 comments on commit c345412

Please sign in to comment.