Sha256: f36a6dc9baab9bc4c027c42b961af1c5b87c54c3824586d534e436b7814b52aa
Contents?: true
Size: 418 Bytes
Versions: 5
Compression:
Stored size: 418 Bytes
Contents
class TranslateSections < ActiveRecord::Migration[5.0] # translated cols are not needed in original table def self.up Pwb::Section.create_translation_table!({ :page_title => {:type => :string, :default => ''}, :link_title => {:type => :string, :default => ''} }, { :migrate_data => true }) end def self.down Pwb::Section.drop_translation_table! :migrate_data => true end end
Version data entries
5 entries across 5 versions & 1 rubygems