mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
feat: add special education disaggregation
This commit is contained in:
parent
a9b4f97a84
commit
acfdaf5587
23 changed files with 379 additions and 52 deletions
12
db/migrate/20231004191828_create_speds.rb
Normal file
12
db/migrate/20231004191828_create_speds.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class CreateSpeds < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :speds do |t|
|
||||
t.string :designation
|
||||
t.string :slug
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :speds, :designation
|
||||
end
|
||||
end
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
class AddSpedToSurveyItemResponse < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_reference :survey_item_responses, :sped, foreign_key: true
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue