Sha256: 483deae10fc1df263da7dd909b9cebb1e32131dccd8f9fa23650648543d8b18b
Contents?: true
Size: 665 Bytes
Versions: 34
Compression:
Stored size: 665 Bytes
Contents
# This migration comes from message_train (originally 20150721161940) class CreateMessageTrainReceipts < ActiveRecord::Migration def change create_table :message_train_receipts do |t| t.references :recipient, polymorphic: true t.references :message_train_message, index: true, foreign_key: true t.boolean :marked_read, default: false t.boolean :marked_trash, default: false t.boolean :marked_deleted, default: false t.boolean :sender, default: false t.timestamps null: false end add_index :message_train_receipts, [:recipient_type, :recipient_id], name: :index_message_train_receipts_on_recipient end end
Version data entries
34 entries across 34 versions & 1 rubygems