Skip to content

Commit

Permalink
Merge branch 'develop' into fix/ipfs-publication
Browse files Browse the repository at this point in the history
  • Loading branch information
robertu7 authored Jul 12, 2021
2 parents 702a1eb + cb5780a commit b96eb8b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions db/migrations/20210708130141_add_asset_map_index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const table = 'asset_map'

exports.up = async (knex) => {
await knex.schema.table(table, (t) => {
t.index(['entity_type_id', 'entity_id'])
})
}

exports.down = async (knex) => {
await knex.schema.table(table, (t) => {
t.dropIndex(['entity_type_id', 'entity_id'])
})
}

0 comments on commit b96eb8b

Please sign in to comment.