Sha256: b86725688d10deffec9c924b37a84be203d8507370367452594ecd00b0651b51
Contents?: true
Size: 400 Bytes
Versions: 34
Compression:
Stored size: 400 Bytes
Contents
class CreateMessageTrainIgnores < ActiveRecord::Migration def change create_table :message_train_ignores do |t| t.references :participant, polymorphic: true t.references :message_train_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
34 entries across 34 versions & 1 rubygems