summaryrefslogtreecommitdiff
path: root/migrations/2020-01-29-230359_create_users/up.sql
diff options
context:
space:
mode:
Diffstat (limited to 'migrations/2020-01-29-230359_create_users/up.sql')
-rw-r--r--migrations/2020-01-29-230359_create_users/up.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/migrations/2020-01-29-230359_create_users/up.sql b/migrations/2020-01-29-230359_create_users/up.sql
new file mode 100644
index 0000000..4b845dc
--- /dev/null
+++ b/migrations/2020-01-29-230359_create_users/up.sql
@@ -0,0 +1,5 @@
+CREATE TABLE users (
+ username varchar NOT NULL PRIMARY KEY,
+ -- bcrypt with cost 12
+ password varchar NOT NULL
+);