Sha256: e5e517ab999b054e243053f7b8a88f6be33b1bcdf9a03154c1d10c2e535ed347
Contents?: true
Size: 577 Bytes
Versions: 10
Compression:
Stored size: 577 Bytes
Contents
class BaseTranslations < ActiveRecord::Migration def self.up StaticPage.create_translation_table! title: :string, content: :text Header.create_translation_table! title: :string, h1: :string, keywords: :string, description: :text, seo_block: :text Structure.create_translation_table! title: :string, redirect_url: :string Asset.create_translation_table! name: :string, alt: :string end def self.down StaticPage.drop_translation_table! Header.drop_translation_table! Structure.drop_translation_table! Asset.drop_translation_table! end end
Version data entries
10 entries across 10 versions & 1 rubygems