You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20220901171733_user_authentication.js 341B

1234567891011
  1. exports.up = function (knex) {
  2. return knex.schema.createTable('authentication', function (table) {
  3. table.string('user_email', 90).primary()
  4. table.string('created_at').notNullable()
  5. table.string('token').notNullable()
  6. })
  7. }
  8. exports.down = function (knex) {
  9. return knex.schema.dropTable('authentication')
  10. }