Added prefer option for entity resolution. Merged migrations.
This commit is contained in:
@@ -273,6 +273,7 @@ exports.up = (knex) => Promise.resolve()
|
||||
table.integer('age', 3);
|
||||
|
||||
table.text('gender', 18);
|
||||
table.text('orientation');
|
||||
table.text('description');
|
||||
|
||||
table.text('birth_city');
|
||||
@@ -346,6 +347,7 @@ exports.up = (knex) => Promise.resolve()
|
||||
|
||||
table.text('real_name');
|
||||
table.text('gender', 18);
|
||||
table.text('orientation');
|
||||
|
||||
table.date('date_of_birth');
|
||||
table.date('date_of_death');
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
exports.up = async (knex) => {
|
||||
await knex.schema.alterTable('actors', (table) => {
|
||||
table.text('orientation');
|
||||
});
|
||||
|
||||
await knex.schema.alterTable('actors_profiles', (table) => {
|
||||
table.text('orientation');
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = async (knex) => {
|
||||
await knex.schema.alterTable('actors', (table) => {
|
||||
table.dropColumn('orientation');
|
||||
});
|
||||
|
||||
await knex.schema.alterTable('actors_profiles', (table) => {
|
||||
table.dropColumn('orientation');
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user