2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2021-02-20 09:57:27 -08:00
|
|
|
# == Schema Information
|
|
|
|
|
#
|
|
|
|
|
# Table name: splashpages
|
|
|
|
|
#
|
|
|
|
|
# id :bigint not null, primary key
|
|
|
|
|
# banner_photo_content_type :string
|
|
|
|
|
# banner_photo_file_name :string
|
|
|
|
|
# banner_photo_file_size :integer
|
|
|
|
|
# banner_photo_updated_at :datetime
|
|
|
|
|
# include_booths :boolean
|
|
|
|
|
# include_cfp :boolean default(FALSE)
|
2021-04-01 13:08:09 +08:00
|
|
|
# include_happening_now :boolean
|
2021-02-20 09:57:27 -08:00
|
|
|
# include_lodgings :boolean
|
|
|
|
|
# include_program :boolean
|
|
|
|
|
# include_registrations :boolean
|
|
|
|
|
# include_social_media :boolean
|
|
|
|
|
# include_sponsors :boolean
|
|
|
|
|
# include_tickets :boolean
|
|
|
|
|
# include_tracks :boolean
|
|
|
|
|
# include_venue :boolean
|
|
|
|
|
# public :boolean
|
|
|
|
|
# shuffle_highlights :boolean default(FALSE), not null
|
|
|
|
|
# created_at :datetime
|
|
|
|
|
# updated_at :datetime
|
|
|
|
|
# conference_id :integer
|
|
|
|
|
#
|
2017-09-05 22:23:34 +03:00
|
|
|
class Splashpage < ApplicationRecord
|
2014-08-30 12:08:24 +02:00
|
|
|
belongs_to :conference
|
2016-05-24 23:54:46 +05:30
|
|
|
|
|
|
|
|
has_paper_trail ignore: [:updated_at], meta: { conference_id: :conference_id }
|
2014-08-30 12:08:24 +02:00
|
|
|
end
|