Class: HhPackage::PackageCustomLabel

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

Overview

Schema Information

Table name: hh_package_custom_labels

id              :bigint           not null, primary key
created_at      :datetime         not null
updated_at      :datetime         not null
custom_label_id :bigint
package_attr_id :bigint

Indexes

hh_package_custom_label_index                      (custom_label_id,package_attr_id) UNIQUE
index_hh_package_custom_labels_on_custom_label_id  (custom_label_id)
index_hh_package_custom_labels_on_package_attr_id  (package_attr_id)

Foreign Keys

fk_rails_...  (package_attr_id => hh_package_package_attrs.id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url