added registeration and started user login
This commit is contained in:
parent
3f2cbcea33
commit
7ec8dbc211
14 changed files with 327 additions and 1 deletions
1
migrations/3_create_users_table.down.sql
Normal file
1
migrations/3_create_users_table.down.sql
Normal file
|
@ -0,0 +1 @@
|
|||
DROP TABLE users;
|
5
migrations/3_create_users_table.up.sql
Normal file
5
migrations/3_create_users_table.up.sql
Normal file
|
@ -0,0 +1,5 @@
|
|||
CREATE TABLE users (
|
||||
id UUID PRIMARY KEY,
|
||||
username TEXT NOT NULL UNIQUE,
|
||||
password TEXT NOT NULL
|
||||
);
|
Reference in a new issue