Class: CityServiceType

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

Overview

Schema Information

Table name: city_service_types

id              :bigint           not null, primary key
created_at      :datetime         not null
updated_at      :datetime         not null
city_id         :bigint
service_type_id :bigint

Indexes

index_city_service_types_on_city_id                      (city_id)
index_city_service_types_on_service_type_id              (service_type_id)
index_city_service_types_on_service_type_id_and_city_id  (service_type_id,city_id) UNIQUE

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url