Sha256: 4933a244d39bb6d8a738c93658c3b0c6d2a1b85f2f8bd36769834040aeec3b10

Contents?: true

Size: 782 Bytes

Versions: 12

Compression:

Stored size: 782 Bytes

Contents

class AddRoroacmsComments < ActiveRecord::Migration
  	
  def self.up

    create_table(:roroacms_comments) do |t|
      t.integer  "post_id"
	    t.text     "author"
	    t.text     "email"
	    t.text     "website"
	    t.text     "comment"
	    t.text     "comment_approved"
	    t.text     "parent_id"
	    t.datetime "submitted_on"
	    t.datetime "created_at",                               null: false
	    t.datetime "updated_at",                               null: false
	    t.string   "is_spam",          limit: 1, default: "N"
	    t.string   "ancestry"
    end

    add_index "roroacms_comments", ["ancestry"], name: "index_comments_on_ancestry", using: :btree
	    
	end

  def self.down

    drop_table :roroacms_comments

  end


end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
roroacms-0.0.6.9 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.6.8 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.6.7 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.6.6 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.6.5 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.6.4 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.6.2 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.6.1 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.6 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.5 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.4 db/migrate/20140802084604_add_roroacms_comments.rb
roroacms-0.0.3 db/migrate/20140802084604_add_roroacms_comments.rb