Class: District

Inherits:
ApplicationRecord show all
Includes:
IdentityCache
Defined in:
app/models/district.rb

Overview

Schema Information

Table name: districts

id         :bigint           not null, primary key
name       :string(191)
created_at :datetime         not null
updated_at :datetime         not null
city_id    :bigint

Indexes

index_districts_on_city_id  (city_id)

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url