big refactor of windows models
This commit is contained in:
6
db/migrate/20140722162824_add_indexes_to_windows.rb
Normal file
6
db/migrate/20140722162824_add_indexes_to_windows.rb
Normal file
@ -0,0 +1,6 @@
|
||||
class AddIndexesToWindows < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :windows, [:window_type, :content_id]
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user