feat: add special education disaggregation

This commit is contained in:
rebuilt 2023-10-05 14:51:36 -07:00
parent c582126d2a
commit 48e795fcfb
27 changed files with 399 additions and 62 deletions

View 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

View file

@ -0,0 +1,5 @@
class AddSpedToSurveyItemResponse < ActiveRecord::Migration[7.0]
def change
add_reference :survey_item_responses, :sped, foreign_key: true
end
end