Class: Guest
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Guest
- Defined in:
- app/models/guest.rb
Overview
typed: ignore
Schema Information
Table name: guests
id :bigint not null, primary key
created_by :string(191)
email :string(191)
name :text(16777215)
phone :text(16777215)
created_at :datetime not null
updated_at :datetime not null
reservation_id :bigint
Indexes
index_guests_on_email (email)
index_guests_on_phone (phone)
index_guests_on_reservation_id (reservation_id)