From ff62609d76d444b8ccf1cd68725bb035b0d1d72f Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 1 Jun 2013 14:33:24 +0200 Subject: [PATCH] Added missing indexes. --- db/migrate/20130529124443_taskbar.rb | 2 ++ 1 file changed, 2 insertions(+) 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