Sha256: 9431de5677f9712673e5588cf2bc0768c1a0b60a0c1ea8d9a9d31d0f17223031
Contents?: true
Size: 651 Bytes
Versions: 23
Compression:
Stored size: 651 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, 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
23 entries across 23 versions & 1 rubygems