summaryrefslogtreecommitdiffstats
path: root/migrations
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-24 16:52:11 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-24 16:52:11 +0000
commita17ec8ff642bbf0596030e773d9d6820d2d9fd88 (patch)
tree798762b910dc138eaa137c6d114ad6026ec8e327 /migrations
parente3e1fb936e807a96e80229bc86d1c4bb385e88da (diff)
User has name field
Diffstat (limited to 'migrations')
-rw-r--r--migrations/20220903093057_add-users-table.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/migrations/20220903093057_add-users-table.sql b/migrations/20220903093057_add-users-table.sql
index 58be825..d0b669d 100644
--- a/migrations/20220903093057_add-users-table.sql
+++ b/migrations/20220903093057_add-users-table.sql
@@ -1,5 +1,6 @@
CREATE TABLE users (
id SERIAL PRIMARY KEY,
+ name VARCHAR(100),
email VARCHAR(100) UNIQUE NOT NULL,
username VARCHAR(100) UNIQUE NOT NULL,
password VARCHAR(100) NOT NULL,