diff --git a/db/migrate/20130529124443_taskbar.rb b/db/migrate/20130529124443_taskbar.rb index 1e6ba3325..e86dae02d 100644 --- a/db/migrate/20130529124443_taskbar.rb +++ b/db/migrate/20130529124443_taskbar.rb @@ -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