update with changes from Production branch
This commit is contained in:
9
db/migrate/20101117211209_add_index_to_feeds.rb
Normal file
9
db/migrate/20101117211209_add_index_to_feeds.rb
Normal file
@ -0,0 +1,9 @@
|
||||
class AddIndexToFeeds < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_index :feeds, :device_id
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_index :feeds, :device_id
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user