Sha256: 958b5a62448340f42a39fb9dbe45ed30dbbc5228f4aa7d8862f6fb993457ad8c

Contents?: true

Size: 1.21 KB

Versions: 27

Compression:

Stored size: 1.21 KB

Contents

class AddRoroacmsPosts < ActiveRecord::Migration

	def self.up

    create_table(:roroacms_posts) do |t|
      t.integer  "admin_id"
	    t.datetime "post_date"
	    t.text     "post_content"
	    t.text     "post_title"
	    t.text     "cover_image"
	    t.string   "post_status"
	    t.string   "post_template"
	    t.integer  "parent_id"
	    t.string   "post_type"
	    t.text     "post_slug"
	    t.string   "post_visible",                   default: "Y"
	    t.text     "post_additional_data"
	    t.integer  "sort_order"
	    t.datetime "created_at",                                   null: false
	    t.datetime "updated_at",                                   null: false
	    t.string   "disabled",             limit: 1, default: "N"
	    t.string   "post_seo_title"
	    t.text     "post_seo_description"
	    t.string   "post_seo_is_disabled",           default: "N"
	    t.string   "post_seo_no_index",              default: "N"
	    t.string   "post_seo_no_follow",             default: "N"
	    t.string   "ancestry"
	    t.text     "structured_url"
    end

   	add_index "roroacms_posts", ["ancestry"], name: "index_posts_on_ancestry", using: :btree
	    
	end

  def self.down

    drop_table :roroacms_posts

  end


end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
roroacms-1.0.0 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.6.7 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.6.6 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.6.5 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.6.4 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.6.3 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.6.2 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.6.1 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.6 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.5 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.4 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.3 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.2 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8.1 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.8 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.7.10 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.7.8 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.7.7 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.7.6 db/migrate/20140802084631_add_roroacms_posts.rb
roroacms-0.0.7.5 db/migrate/20140802084631_add_roroacms_posts.rb