mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
updating for 2018 data
This commit is contained in:
parent
c6b10291fd
commit
9d81c39f54
8 changed files with 128 additions and 34 deletions
|
|
@ -0,0 +1,8 @@
|
|||
class AddExternalIdToQuestions < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :questions, :external_id, :string
|
||||
add_column :school_categories, :year, :string
|
||||
end
|
||||
end
|
||||
|
||||
# SchoolCategory.update_all(year: '2017')
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20180128015651) do
|
||||
ActiveRecord::Schema.define(version: 20180711164051) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
|
@ -76,6 +76,7 @@ ActiveRecord::Schema.define(version: 20180128015651) do
|
|||
t.integer "target_group", default: 0
|
||||
t.boolean "for_recipient_students", default: false
|
||||
t.boolean "reverse", default: false
|
||||
t.string "external_id"
|
||||
end
|
||||
|
||||
create_table "recipient_lists", force: :cascade do |t|
|
||||
|
|
@ -149,6 +150,7 @@ ActiveRecord::Schema.define(version: 20180128015651) do
|
|||
t.datetime "updated_at", null: false
|
||||
t.float "nonlikert"
|
||||
t.float "zscore"
|
||||
t.string "year"
|
||||
t.index ["category_id"], name: "index_school_categories_on_category_id", using: :btree
|
||||
t.index ["school_id"], name: "index_school_categories_on_school_id", using: :btree
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue