Class: InventorySevenroomsBlockage

Inherits:
ApplicationRecord show all
Defined in:
app/models/inventory_sevenrooms_blockage.rb

Overview

Schema Information

Table name: inventory_sevenrooms_blockages

id             :bigint           not null, primary key
created_at     :datetime         not null
updated_at     :datetime         not null
blockage_id    :string(191)      not null
reservation_id :integer          not null

Indexes

idx_inventory_sevenrooms_blockages_blockage_id                    (blockage_id)
idx_uniq_inventory_sevenrooms_blockages_reservation_blockage_ids  (reservation_id,blockage_id) UNIQUE
index_inventory_sevenrooms_blockages_on_reservation_id            (reservation_id)

Foreign Keys

fk_rails_...  (reservation_id => reservations.id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url