Sha256: 6738ac76b9e0a8edc0cb364f1b4b5046c038c010080d9cd787bc0ebacb4a98b2
Contents?: true
Size: 539 Bytes
Versions: 6
Compression:
Stored size: 539 Bytes
Contents
class CreateMingleHashtaggings < ActiveRecord::Migration def change create_table :mingle_hashtaggings do |t| t.references :hashtag, index: true t.references :hashtaggable, polymorphic: true t.timestamps end add_index "mingle_hashtaggings", ["hashtaggable_id", "hashtaggable_type", "hashtag_id"], name: "unique_hashtagging", unique: true, using: :btree add_index "mingle_hashtaggings", ["hashtaggable_id", "hashtaggable_type"], name: "index_mingle_hashtaggings_on_hashtaggabe", using: :btree end end
Version data entries
6 entries across 6 versions & 1 rubygems