Browse Source

:bug: fix for tale schema

tags/0.0.1
J 4 years ago
parent
commit
127a29d5ee

+ 1
- 1
backend/db/migrations/20220403111101_create_user_passwords_table.js View File

@@ -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()

Loading…
Cancel
Save