Sha256: 98fe3e91845457a231ba6f1587f001459f5fc65eccb73ed14addee6556eecc32
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
class CreateSpinaTranslationTables < ActiveRecord::Migration def up Spina::Page.create_translation_table! title: :string, menu_title: :string, description: :string, seo_title: :string, materialized_path: :string Spina::Text.create_translation_table! content: :text Spina::Line.create_translation_table! content: :string end def down Spina::Page.drop_translation_table! Spina::Text.drop_translation_table! Spina::Line.drop_translation_table! end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spina-0.10.0 | db/migrate/2_create_spina_translation_tables.rb |
spina-0.9.0 | db/migrate/2_create_spina_translation_tables.rb |