Sha256: 75021655a8683c3880febcde719b38cabe2a8e5736b311a2d4797f285b890abb
Contents?: true
Size: 360 Bytes
Versions: 14
Compression:
Stored size: 360 Bytes
Contents
class TranslateSectionContent < ActiveRecord::Migration[6.0] def change remove_column :maglev_sites, :sections, :jsonb, default: [] add_column :maglev_sites, :sections_translations, :jsonb, default: {} remove_column :maglev_pages, :sections, :jsonb, default: [] add_column :maglev_pages, :sections_translations, :jsonb, default: {} end end
Version data entries
14 entries across 14 versions & 1 rubygems