diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-08-22 16:31:25 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-08-22 16:31:25 +0200 |
commit | 1c217c7fbb0a0cb9e6fad5c1c85fdcb46081e4ed (patch) | |
tree | 02c58db747fe5c597cdad89a44780bfee5029f79 /server/migrations | |
parent | 14968097b28919f7e1f71ec5e49b30191826fa33 (diff) |
Add migrations for users table creation
Diffstat (limited to 'server/migrations')
-rw-r--r-- | server/migrations/20220822142548_add-users-table.sql | 6 |
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 +); |