prettier changes

Signed-off-by: tonedef <kobylk@gmail.com>
This commit is contained in:
tonedef
2022-10-29 17:07:18 -07:00
parent 112c6d5605
commit 1f41007d85
2 changed files with 7 additions and 13 deletions
@@ -21,17 +21,11 @@
*/
exports.up = async function up(knex) {
await knex.schema.alterTable('entities_search', table => {
const options = knex.client.config.client.includes('mysql') ? { indexType: 'FULLTEXT', } : {}
table.index(
['key'],
'entities_search_key',
options
);
table.index(
['value'],
'entities_search_value',
options
);
const options = knex.client.config.client.includes('mysql')
? { indexType: 'FULLTEXT' }
: {};
table.index(['key'], 'entities_search_key', options);
table.index(['value'], 'entities_search_value', options);
});
};
@@ -91,8 +91,8 @@ exports.up = async function up(knex) {
await knex.schema.createTable('refresh_state_references', table => {
const textColumn = isMySQL
? table.string.bind(table)
: table.text.bind(table);
? table.string.bind(table)
: table.text.bind(table);
table.comment('Edges between refresh state rows');
table