This commit is contained in:
2025-11-07 13:34:32 -08:00
commit 1e8c5a972b
436 changed files with 11000 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
class AddBodyToSections < ActiveRecord::Migration[8.0]
def change
change_table :sections do |t|
t.text :body
end
execute "update sections set body = l.title from leaves l where l.leafable_id = sections.id and l.leafable_type = 'Section'"
end
end