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

Version Path
renalware-core-2.0.62 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.61 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.60 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.58 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.57 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.56 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.55 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.54 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.53 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.52 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.51 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.50 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.48 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.47 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.46 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.45 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.44 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.43 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.42 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.41 db/migrate/20170810093532_create_messaging_receipts.rb