Rohan Sircar
cb26393fcd
Split codebase into modules Added custom all in one error type Added password to user model Added password hashing using bcrypt Added model validation for username using regex
8 lines
193 B
SQL
8 lines
193 B
SQL
-- Your SQL goes here
|
|
CREATE TABLE users (
|
|
id INTEGER PRIMARY KEY NOT NULL ,
|
|
name VARCHAR NOT NULL,
|
|
password VARCHAR NOT NULL,
|
|
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
|
)
|