tags: add index on is_deprecated.

This commit is contained in:
evazion
2022-04-10 00:07:15 -05:00
parent e37f3e6538
commit 90b800ced7
2 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
class AddIsDeprecatedIndexOnTags < ActiveRecord::Migration[7.0]
def change
add_index :tags, :is_deprecated, where: "is_deprecated = TRUE"
end
end