Sha256: 706d65b03592a7a3dbdd3704d66e076858c93474b638dcf352198fa398e5ce62

Contents?: true

Size: 566 Bytes

Versions: 27

Compression:

Stored size: 566 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

27 entries across 27 versions & 1 rubygems

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