Class: AddIndex
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddIndex
- Defined in:
- lib/rbitter/records_migrate/20150327_add_index.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
9 10 11 |
# File 'lib/rbitter/records_migrate/20150327_add_index.rb', line 9 def change up end |
#up ⇒ Object
5 6 7 |
# File 'lib/rbitter/records_migrate/20150327_add_index.rb', line 5 def up add_index :records, :tweetid end |