Sha256: 41c7c53dea5be94e25e488bb93bdc900a0c3fcf8969613e6087d72aea48695c6
Contents?: true
Size: 448 Bytes
Versions: 7
Compression:
Stored size: 448 Bytes
Contents
class BaseTranslations < ActiveRecord::Migration def self.up StaticPage.create_translation_table! title: :string, content: :text Header.create_translation_table! title: :string, keywords: :string, description: :text Structure.create_translation_table! title: :string, redirect_url: :string end def self.down StaticPage.drop_translation_table! Header.drop_translation_table! Structure.drop_translation_table! end end
Version data entries
7 entries across 7 versions & 1 rubygems