Merge branch 'develop' of https://bdgit.educoder.net/Hjqreturn/pgfqe6ch8 into develop
commit
0dd03710ae
@ -1,5 +1,5 @@
|
||||
class Managements::BaseController < ApplicationController
|
||||
layout 'base_management'
|
||||
|
||||
before_filter :require_admin
|
||||
before_filter :require_business
|
||||
end
|
@ -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