Sha256: 0e98bf801af8ebb666959104c8c8292b9307acd06e9a0f591f0a5a0784701194
Contents?: true
Size: 595 Bytes
Versions: 34
Compression:
Stored size: 595 Bytes
Contents
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