Sha256: 9a031675e8431427e55628c4c24e273eae306f2bd441d33f1998822470505599

Contents?: true

Size: 593 Bytes

Versions: 12

Compression:

Stored size: 593 Bytes

Contents

class AddRoroacmsTerms < ActiveRecord::Migration

	def self.up

    create_table(:roroacms_terms) do |t|
      t.string   "name"
	    t.string   "slug"
	    t.text     "structured_url"
	    t.text     "description"
	    t.integer  "parent_id"
	    t.datetime "created_at",     null: false
	    t.datetime "updated_at",     null: false
	    t.text     "cover_image"
	    t.string   "ancestry"
    end

    add_index "roroacms_terms", ["ancestry"], name: "index_terms_on_ancestry", using: :btree
	    
	end

  def self.down

    drop_table :roroacms_terms

  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

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