Sha256: 3440cd6fdd28d172fc183f5c32e0e225d2c3d921e686311646fddb6efb4c00e1
Contents?: true
Size: 435 Bytes
Versions: 4
Compression:
Stored size: 435 Bytes
Contents
# This migration comes from make_taggable_engine (originally 2) class CreateMakeTaggableTaggings < ActiveRecord::Migration[5.2] def change create_table MakeTaggable.taggings_table do |t| t.references :tag, foreign_key: {to_table: MakeTaggable.tags_table} t.references :taggable, polymorphic: true t.references :tagger, polymorphic: true t.string :context, limit: 128 t.timestamps end end end
Version data entries
4 entries across 4 versions & 1 rubygems