summaryrefslogtreecommitdiffstats
path: root/migrations/20220903093057_add-users-table.sql
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-13 13:23:57 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-13 13:23:57 +0000
commitbcff6540a98056c4b1f90e0efd784eb2b41f347f (patch)
tree1c851ee3679e8c5fb958866619dac943079009b1 /migrations/20220903093057_add-users-table.sql
parent412494edf618b8eda71656855656f9b8b21c3eae (diff)
Add avatar field
Diffstat (limited to 'migrations/20220903093057_add-users-table.sql')
-rw-r--r--migrations/20220903093057_add-users-table.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/migrations/20220903093057_add-users-table.sql b/migrations/20220903093057_add-users-table.sql
index 73c2396..58be825 100644
--- a/migrations/20220903093057_add-users-table.sql
+++ b/migrations/20220903093057_add-users-table.sql
@@ -3,5 +3,6 @@ CREATE TABLE users (
email VARCHAR(100) UNIQUE NOT NULL,
username VARCHAR(100) UNIQUE NOT NULL,
password VARCHAR(100) NOT NULL,
+ avatar VARCHAR,
is_staff BOOLEAN DEFAULT false
);