Sha256: 1e855040850358ded253e228ab55eeffed937cc07e4bccbc4f2eec58317c3eff
Contents?: true
Size: 386 Bytes
Versions: 23
Compression:
Stored size: 386 Bytes
Contents
class CreateMessageTrainIgnores < ActiveRecord::Migration def change create_table :message_train_ignores do |t| t.references :participant, polymorphic: true t.references :conversation, index: true, foreign_key: true t.timestamps null: false end add_index :message_train_ignores, [:participant_type, :participant_id], name: 'participant_index' end end
Version data entries
23 entries across 23 versions & 1 rubygems