Class: CreateKuhsaftLocalizedPages
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateKuhsaftLocalizedPages
- Defined in:
- lib/templates/kuhsaft/install/create_kuhsaft_localized_pages.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
16 17 18 |
# File 'lib/templates/kuhsaft/install/create_kuhsaft_localized_pages.rb', line 16 def self.down drop_table :localized_pages end |
.up ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/templates/kuhsaft/install/create_kuhsaft_localized_pages.rb', line 2 def self.up create_table :localized_pages do |t| t.string :title t.string :slug t.string :keywords t.text :description t.text :body t.integer :published t.string :locale t.references :page t. end end |