|
|
@ -17,7 +17,7 @@ const up = async (knex: Knex) => { |
|
|
|
|
|
|
|
|
|
|
|
table.string('project_id', 128); |
|
|
|
table.string('project_id', 128); |
|
|
|
table.foreign('project_id').references(`${MetaTable.PROJECT}.id`); |
|
|
|
table.foreign('project_id').references(`${MetaTable.PROJECT}.id`); |
|
|
|
table.string('fk_user_id', 128); |
|
|
|
table.string('fk_user_id', 20); |
|
|
|
table.foreign('fk_user_id').references(`${MetaTable.USERS}.id`); |
|
|
|
table.foreign('fk_user_id').references(`${MetaTable.USERS}.id`); |
|
|
|
|
|
|
|
|
|
|
|
table.timestamps(true, true); |
|
|
|
table.timestamps(true, true); |
|
|
|