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.0.pre.rc9 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.rc8 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.rc7 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.rc6 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.rc5 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.rc4 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.rc3 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.rc1 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.beta12 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.beta11 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.beta10 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.beta9 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.beta8 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.beta7 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.beta6 db/migrate/20170810093532_create_messaging_receipts.rb
renalware-core-2.0.0.pre.beta5 db/migrate/20170810093532_create_messaging_receipts.rb