Sha256: dbbee800c74ab56f1f5dffec082f77d7b50089c9ff49686fab086126169cf670
Contents?: true
Size: 371 Bytes
Versions: 10
Compression:
Stored size: 371 Bytes
Contents
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
10 entries across 10 versions & 1 rubygems