Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

20091017214236_add_missing_indexes_to_time_entries.rb 281B

1234567891011
  1. class AddMissingIndexesToTimeEntries < ActiveRecord::Migration[4.2]
  2. def self.up
  3. add_index :time_entries, :activity_id
  4. add_index :time_entries, :user_id
  5. end
  6. def self.down
  7. remove_index :time_entries, :activity_id
  8. remove_index :time_entries, :user_id
  9. end
  10. end