Skip to content

Commit

Permalink
added drop table if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheryl Chen authored and Cheryl Chen committed Nov 19, 2023
1 parent 0e83312 commit e2e0b73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/schema/users.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
CREATE TYPE account_type as ENUM ('superadmin', 'admin');

CREATE TABLE IF NOT EXISTS users (
DROP TABLE IF EXISTS users;

CREATE TABLE users (
id VARCHAR ( 256 ) PRIMARY KEY,
email VARCHAR ( 50 ) NOT NULL,
type account_type NOT NULL,
Expand Down

0 comments on commit e2e0b73

Please sign in to comment.