summaryrefslogtreecommitdiff
path: root/sql/tables/auth.users.sql
diff options
context:
space:
mode:
authorckonstanski <carlos.konstanski@olo.com>2024-05-25 18:03:25 -0600
committerckonstanski <carlos.konstanski@olo.com>2024-05-25 18:03:25 -0600
commitb8423f4d05c75094b7b9d09c6f0bb353acc9be1c (patch)
tree3732f71f84191b26f038130c2220fb502d738251 /sql/tables/auth.users.sql
initial commit
Diffstat (limited to 'sql/tables/auth.users.sql')
-rw-r--r--sql/tables/auth.users.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/tables/auth.users.sql b/sql/tables/auth.users.sql
new file mode 100644
index 0000000..8eecf76
--- /dev/null
+++ b/sql/tables/auth.users.sql
@@ -0,0 +1,13 @@
+drop table auth.users cascade;
+
+create table auth.users (
+ id serial8 primary key,
+ username character varying(255) not null,
+ pwd bytea,
+ first_name character varying(255) not null,
+ last_name character varying(255) not null,
+ email character varying(255) not null,
+ phone character varying(255),
+ active bool,
+ created timestamp without time zone not null default now()
+);