Sha256: 78543d7cea5b58d61aca745ba14b79e71fd95569b5ceb3d00b6db6ab8b6dbb3f

Contents?: true

Size: 271 Bytes

Versions: 5

Compression:

Stored size: 271 Bytes

Contents

class CreateEcmTagsTags < ActiveRecord::Migration
  def change
    create_table :ecm_tags_tags do |t|
      t.string  'name'
      t.integer 'taggings_count', default: 0
    end

    add_index 'ecm_tags_tags', ['name'], name: 'index_tags_on_name', unique: true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_tags-1.0.0 db/migrate/20160208121254_create_ecm_tags_tags.rb
ecm_tags-0.0.4 db/migrate/20160208121254_create_ecm_tags_tags.rb
ecm_tags-0.0.3 db/migrate/20160208121254_create_ecm_tags_tags.rb
ecm_tags-0.0.2 db/migrate/20160208121254_create_ecm_tags_tags.rb
ecm_tags-0.0.1 db/migrate/20160208121254_create_ecm_tags_tags.rb