Skip to content
Snippets Groups Projects
Commit fe67a57e authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

migration for indexes

parent 2226ce81
No related branches found
No related tags found
1 merge request!387Deploy to production
exports.up = (knex, Promise) =>
knex.raw(`CREATE INDEX IF NOT EXISTS audit_manuscript_index on audit.audit_log(manuscript_id);
CREATE INDEX IF NOT EXISTS audit_job_index on audit.job_log(job_name);`)
exports.down = (knex, Promise) =>
knex.raw(`DROP INDEX IF EXISTS audit_manuscript_index;
DROP INDEX IF EXISTS audit_job_index;`)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment