Sha256: dbe1cf0525fc3cef502f69d64e37346a9b5236a9a0d552e3d28069d378afac24

Contents?: true

Size: 134 Bytes

Versions: 10

Compression:

Stored size: 134 Bytes

Contents

class AddIndexToTags < ActiveRecord::Migration[5.2]
  def change
    add_index MakeTaggable.tags_table, :name, unique: true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
make_taggable-0.7.5 db/migrate/4_add_index_to_tags.rb
make_taggable-0.7.4 db/migrate/4_add_index_to_tags.rb
make_taggable-0.7.3 db/migrate/4_add_index_to_tags.rb
make_taggable-0.7.2 db/migrate/4_add_index_to_tags.rb
make_taggable-0.7.1 db/migrate/4_add_index_to_tags.rb
make_taggable-0.7.0 db/migrate/4_add_index_to_tags.rb
make_taggable-0.6.6 db/migrate/4_add_index_to_tags.rb
make_taggable-0.6.5 db/migrate/4_add_index_to_tags.rb
make_taggable-0.6.4 db/migrate/4_add_index_to_tags.rb
make_taggable-0.6.3 db/migrate/3_add_index_to_tags.rb