Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions database/db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ DROP TABLE IF EXISTS users, posts, comments cascade ;

CREATE TABLE users (
id SERIAL PRIMARY KEY NOT NULL,
name VARCHAR(100) NOT NULL,
name VARCHAR(100) UNIQUE NOT NULL,
email VARCHAR(100) NOT NULL,
password VARCHAR(30) NOT NULL
password VARCHAR(300) NOT NULL
);

CREATE TABLE posts (
Expand Down
Loading