class Session

Schema Information

Table name: sessions

id                            :bigint           not null, primary key
dates                         :date             not null, is an Array
days_before_consent_reminders :integer
national_protocol_enabled     :boolean          default(FALSE), not null
outbreak                      :boolean          default(FALSE), not null
psd_enabled                   :boolean          default(FALSE), not null
requires_registration         :boolean          default(TRUE), not null
send_consent_requests_at      :date
slug                          :string           not null
created_at                    :datetime         not null
updated_at                    :datetime         not null
team_location_id              :bigint           not null

Indexes

index_sessions_on_dates             (dates) USING gin
index_sessions_on_team_location_id  (team_location_id)

Foreign Keys

fk_rails_...  (team_location_id => team_locations.id)