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:
rebuilt 2025-04-15 15:03:32 -07:00
parent a48a2b1d7a
commit 446b3b1096
11 changed files with 182 additions and 23 deletions

View file

@ -0,0 +1,5 @@
class AddLanguageToParents < ActiveRecord::Migration[8.0]
def change
add_reference :parents, :language, foreign_key: true
end
end