mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
feat: Show parent scales on browse page
This commit is contained in:
parent
e5e969b968
commit
37042aead5
13 changed files with 373 additions and 306 deletions
6
db/migrate/20240924173209_add_name_to_scale.rb
Normal file
6
db/migrate/20240924173209_add_name_to_scale.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class AddNameToScale < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
add_column :scales, :name, :string
|
||||
add_column :scales, :description, :string
|
||||
end
|
||||
end
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.1].define(version: 2024_06_07_205816) do
|
||||
ActiveRecord::Schema[7.1].define(version: 2024_09_24_173209) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
|
|
@ -373,6 +373,8 @@ ActiveRecord::Schema[7.1].define(version: 2024_06_07_205816) do
|
|||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "survey_items_count"
|
||||
t.string "name"
|
||||
t.string "description"
|
||||
t.index ["measure_id"], name: "index_scales_on_measure_id"
|
||||
t.index ["scale_id"], name: "index_scales_on_scale_id", unique: true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue