diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2022-09-06 16:44:30 +0000 |
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-06 16:44:30 +0000 |
| commit | e6dbcbb42e7a4a973887acde633cc3ee233aad3e (patch) | |
| tree | 2a7f43d27a8253ce239be85562ae3df31b99cef6 /migrations | |
| parent | 2c6434e0b89e93ab6bdddb28bcd059b48638cb0d (diff) | |
Fix uppercase on migration
Diffstat (limited to 'migrations')
| -rw-r--r-- | migrations/20220903093057_add-users-table.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migrations/20220903093057_add-users-table.sql b/migrations/20220903093057_add-users-table.sql index 0fb83c4..b55eae6 100644 --- a/migrations/20220903093057_add-users-table.sql +++ b/migrations/20220903093057_add-users-table.sql @@ -1,7 +1,7 @@ -CREATE TABLE USERS ( +CREATE TABLE users ( id SERIAL UNIQUE PRIMARY KEY, email VARCHAR(100) UNIQUE NOT NULL, username VARCHAR(100) UNIQUE NOT NULL, password VARCHAR(100) NOT NULL, - is_staff BOOLEAN DEFAULT FALSE + is_staff BOOLEAN DEFAULT false ); |
