Added missing indexes.
This commit is contained in:
parent
7c467de2f7
commit
ff62609d76
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue