traxxx/migrations/20230612012243_indexes.js

8 lines
200 B
JavaScript

exports.up = async (knex) => {
await knex.raw('CREATE INDEX releases_tag_index ON releases_tags(tag_id);');
};
exports.down = async (knex) => {
await knex.raw('DROP INDEX releases_tag_index;');
};