Class: CanadianTireStoreAddress

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

Overview

== Schema Information

Table name: canadian_tire_store_addresses
Database name: primary

id :bigint not null, primary key
active_indicator :boolean default(FALSE), not null
city :string
country_iso :string
location_address_name :string
location_address_street :string
location_name :string
new_store_indicator :boolean default(FALSE), not null
postal_code :string
state_code :string
store_number :string
created_at :datetime not null
updated_at :datetime not null

Indexes

index_canadian_tire_store_addresses_on_active_indicator (active_indicator)
index_canadian_tire_store_addresses_on_city (city)
index_canadian_tire_store_addresses_on_country_iso (country_iso)
index_canadian_tire_store_addresses_on_new_store_indicator (new_store_indicator)
index_canadian_tire_store_addresses_on_state_code (state_code)
index_canadian_tire_store_addresses_on_store_number (store_number)

Method Summary

Methods inherited from ApplicationRecord

ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation

Methods included from Models::EventPublishable

#publish_event