Sha256: 35ae2f66392db4dbf563ec156c70ac7fb61a7265eca44288a25fd22a381b68d2
Contents?: true
Size: 380 Bytes
Versions: 176
Compression:
Stored size: 380 Bytes
Contents
class CreateMessagingReceipts < ActiveRecord::Migration[5.1] def change create_table :messaging_receipts do |t| t.references :message, index: true, null: false, foreign_key: { to_table: :messaging_messages } t.references :recipient, index: true, null: false, foreign_key: { to_table: :users } t.datetime :read_at, null: true, index: true end end end
Version data entries
176 entries across 176 versions & 1 rubygems