From 1c217c7fbb0a0cb9e6fad5c1c85fdcb46081e4ed Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Mon, 22 Aug 2022 16:31:25 +0200
Subject: Add migrations for users table creation

---
 server/migrations/20220822142548_add-users-table.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 server/migrations/20220822142548_add-users-table.sql

(limited to 'server/migrations/20220822142548_add-users-table.sql')

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
+);
-- 
cgit v1.2.3-18-g5258

