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.

20220403111101_create_user_passwords_table.js 415B

12345678910111213
  1. exports.up = function (knex) {
  2. return knex.schema.createTable('user_identities', function (table) {
  3. table.increments('user_pw_id').primary()
  4. table.increments('user_id').notNullable()
  5. table.string('uname', 16)
  6. table.string('pw', 16)
  7. table.boolean('is_deleted').notNullable()
  8. })
  9. }
  10. exports.down = function (knex) {
  11. return knex.schema.dropTable('user_identities')
  12. }