parent
1864620376
commit
26455d0efb
@ -0,0 +1,9 @@
|
|||||||
|
class AddIndexToSchoolDailyReports < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_index :school_daily_reports, [:date, :teacher_increase_count]
|
||||||
|
add_index :school_daily_reports, [:date, :student_increase_count]
|
||||||
|
add_index :school_daily_reports, [:date, :course_increase_count]
|
||||||
|
add_index :school_daily_reports, [:date, :shixun_increase_count]
|
||||||
|
add_index :school_daily_reports, [:date, :active_user_count]
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue