From e2e0b73f988db4cb9cd213a38c38ea40aa0ca523 Mon Sep 17 00:00:00 2001 From: Cheryl Chen Date: Sat, 18 Nov 2023 22:57:09 -0800 Subject: [PATCH] added drop table if exists --- server/schema/users.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/schema/users.sql b/server/schema/users.sql index 2aa8112..b652586 100644 --- a/server/schema/users.sql +++ b/server/schema/users.sql @@ -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,