Skip to content

Commit

Permalink
Added missing indexes.
Browse files Browse the repository at this point in the history
  • Loading branch information
martini committed Jun 1, 2013
1 parent 7c467de commit ff62609
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/migrate/20130529124443_taskbar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ def up
t.column :active, :boolean, :null => false, :default => false
t.timestamps
end
add_index :tasks, [:user_id]
add_index :tasks, [:client_id]
end

def down
Expand Down

0 comments on commit ff62609

Please sign in to comment.