summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/migrations/20220822142548_add-users-table.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/migrations/20220822142548_add-users-table.sql b/server/migrations/20220822142548_add-users-table.sql
new file mode 100644
index 0000000..4798d7e
--- /dev/null
+++ b/server/migrations/20220822142548_add-users-table.sql
@@ -0,0 +1,6 @@
+create table users (
+ id serial unique,
+ email varchar(100) unique not null,
+ password varchar(100) not null,
+ is_staff boolean default false
+);