Working registration/auth

This commit is contained in:
2021-08-14 10:26:44 +02:00
parent cd9400fec3
commit 81b314ac55
3 changed files with 41 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
exports.up = function(knex) {
return knex.schema.createTable('users', function (table) {
table.increments('id');
table.string('name');
table.string('username');
table.string('email').unique();
table.string('password');
table.timestamps();