Added missing indexes.

This commit is contained in:
Martin Edenhofer 2013-06-01 14:33:24 +02:00
parent 7c467de2f7
commit ff62609d76

View file

@ -12,6 +12,8 @@ class Taskbar < ActiveRecord::Migration
t.column :active, :boolean, :null => false, :default => false t.column :active, :boolean, :null => false, :default => false
t.timestamps t.timestamps
end end
add_index :tasks, [:user_id]
add_index :tasks, [:client_id]
end end
def down def down