Modify collection rate for admin data items. Take into account if a

school is a high school and if the admin data item is for high schools
only.  Finishes: #181154375.
This commit is contained in:
rebuilt 2022-02-11 18:54:14 +01:00
parent 48581b990a
commit fcec3de233
12 changed files with 657 additions and 561 deletions

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2022_01_24_144902) do
ActiveRecord::Schema.define(version: 2022_02_11_122234) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"
@ -31,6 +31,7 @@ ActiveRecord::Schema.define(version: 2022_01_24_144902) do
t.float "growth_low_benchmark"
t.float "approval_low_benchmark"
t.float "ideal_low_benchmark"
t.boolean "hs_only_item", default: false
end
create_table "categories", id: :serial, force: :cascade do |t|
@ -292,6 +293,7 @@ ActiveRecord::Schema.define(version: 2022_01_24_144902) do
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.integer "dese_id", null: false
t.boolean "is_hs", default: false
t.index ["dese_id"], name: "index_schools_on_dese_id", unique: true
end