Sha256: e52c76cd2f6d46fb1a1b757e76925dc06b72df953f89115ab8f126544b667151

Contents?: true

Size: 734 Bytes

Versions: 2

Compression:

Stored size: 734 Bytes

Contents

# This migration comes from activeadmin_selleo_cms (originally 20121129142932)
class CreateActiveadminSelleoCmsPages < ActiveRecord::Migration
  def change
    create_table :activeadmin_selleo_cms_pages do |t|
      t.integer :parent_id
      t.integer :lft
      t.integer :rgt
      t.integer :depth
      t.string :layout
      t.boolean :show_in_menu, default: true
      t.boolean :is_published
      t.datetime :published_at
      t.boolean :is_link_url, default: false
      t.string :link_url
      t.integer :views, default: 0
      t.timestamps
    end

    ActiveadminSelleoCms::Page.create_translation_table! title: :string, slug: :string, browser_title: :string, meta_keywords: :string, meta_description: :text
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin-selleo-cms-0.0.14 spec/dummy/db/migrate/20130103215140_create_activeadmin_selleo_cms_pages.activeadmin_selleo_cms.rb
activeadmin-selleo-cms-0.0.13 spec/dummy/db/migrate/20130103215140_create_activeadmin_selleo_cms_pages.activeadmin_selleo_cms.rb