mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
Merge pull request #86 from internetee/story/113066359-optimization-index
Story#113066359 - add index to domain statuses
This commit is contained in:
commit
e6c22ae2ee
1 changed files with 5 additions and 0 deletions
5
db/migrate/20160218102355_index_domain_statuses.rb
Normal file
5
db/migrate/20160218102355_index_domain_statuses.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
class IndexDomainStatuses < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_index :domains, :statuses, using: :gin
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue