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.timestamps
end
add_index :tasks, [:user_id]
add_index :tasks, [:client_id]
end
def down