|
|
@@ -1,7 +1,7 @@
|
|
1
|
1
|
exports.up = function (knex) {
|
|
2
|
2
|
return knex.schema.createTable('user_identities', function (table) {
|
|
3
|
3
|
table.increments('user_pw_id').primary()
|
|
4
|
|
- table.increments('user_id').notNullable()
|
|
|
4
|
+ table.integer('user_id').notNullable()
|
|
5
|
5
|
table.string('uname', 16)
|
|
6
|
6
|
table.string('pw', 16)
|
|
7
|
7
|
table.boolean('is_deleted').notNullable()
|