mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
WIP: Update the parent table to hold a reference to a language
Update the data uploader script to read the language from the csv and update the language information for any parent items that already exist (or create database entries if none already exist)
This commit is contained in:
parent
a48a2b1d7a
commit
446b3b1096
11 changed files with 182 additions and 23 deletions
5
db/migrate/20250415211114_add_language_to_parents.rb
Normal file
5
db/migrate/20250415211114_add_language_to_parents.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddLanguageToParents < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_reference :parents, :language, foreign_key: true
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue