Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Commit

Permalink
Add index on field.parent_id 📇
Browse files Browse the repository at this point in the history
[ci mysql] [ci postgres]
  • Loading branch information
camsaul committed Mar 28, 2019
1 parent f638649 commit 96a40a7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions resources/migrations/000_migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5262,3 +5262,16 @@ databaseChangeLog:
WHERE dbcl.id = '84'
AND metric.updated_at < dbcl.dateexecuted
)
# Very helpful for performance reasons. See #9519
- changeSet:
id: 101
author: camsaul
comment: 'Added 0.32.0'
changes:
- createIndex:
indexName: idx_field_parent_id
tableName: metabase_field
columns:
- column:
name: parent_id

0 comments on commit 96a40a7

Please sign in to comment.