Class: Synonym

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

Overview

Schema Information

Table name: synonyms

id                :bigint           not null, primary key
synonym           :string(191)
created_at        :datetime         not null
updated_at        :datetime         not null
restaurant_tag_id :bigint

Indexes

index_synonyms_on_restaurant_tag_id_and_synonym  (restaurant_tag_id,synonym) UNIQUE

Method Summary

Methods inherited from ApplicationRecord

sync_carrierwave_url