price-point-api/app/models/chain.rb

14 lines
311 B
Ruby
Raw Normal View History

2026-05-25 16:15:06 +00:00
# == Schema Information
#
# Table name: chains
#
# id :bigint not null, primary key
# name :string
# created_at :datetime not null
# updated_at :datetime not null
#
2026-05-17 11:12:43 +00:00
class Chain < ApplicationRecord
has_one_attached :image
has_many :stores, dependent: :destroy
2026-05-17 11:12:43 +00:00
end