timestamp accounts

This commit is contained in:
ntr 2019-01-05 15:13:40 +11:00
parent bdd8997141
commit 008bc71527

View File

@ -1,6 +1,7 @@
exports.up = async knex => {
return knex.schema.createTable('accounts', table => {
table.uuid('id').primary();
table.timestamps();
table.string('name', 42).notNullable().unique();
table.string('password').notNullable();
table.string('token', 64).notNullable();