Class: GroupLandingPageGroup

Inherits:
ApplicationRecord show all
Extended by:
Enumerize
Defined in:
app/models/group_landing_page_group.rb

Overview

Schema Information

Table name: group_landing_page_groups

id                    :bigint           not null, primary key
group_type            :string(191)      not null
priority              :integer
rank_sort_type        :string(191)
created_at            :datetime         not null
updated_at            :datetime         not null
group_id              :bigint           not null
group_landing_page_id :bigint           not null

Indexes

index_group_landing_page_groups_on_group_landing_page_id    (group_landing_page_id)
index_group_landing_page_groups_on_group_type_and_group_id  (group_type,group_id)
index_landing_page_groups_on_landing_page_id_and_priority   (group_landing_page_id,priority) UNIQUE

Foreign Keys

fk_rails_...  (group_landing_page_id => group_landing_pages.id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url