mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-24 17:56:10 +01:00
Merge branch '936-index-state' into vacation-work
This commit is contained in:
commit
c89b234376
1 changed files with 9 additions and 0 deletions
9
db/migrate/20100502162317_add_index_to_todo_state.rb
Normal file
9
db/migrate/20100502162317_add_index_to_todo_state.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class AddIndexToTodoState < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_index :todos, :state
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_index :todos, :state
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue