price-point-api/test/fixtures/price_reports.yml
Mohammad Kanaan 22c7e0cdb6
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
annotate models
2026-05-25 19:15:06 +03:00

49 lines
1.2 KiB
YAML

# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
# == Schema Information
#
# Table name: price_reports
#
# id :bigint not null, primary key
# discount_price :decimal(, )
# downvotes :integer
# price :decimal(, )
# reported_at :datetime
# upvotes :integer
# created_at :datetime not null
# updated_at :datetime not null
# guest_id :integer not null
# product_id :integer not null
# store_id :integer not null
#
# Indexes
#
# index_price_reports_on_guest_id (guest_id)
# index_price_reports_on_product_id (product_id)
# index_price_reports_on_store_id (store_id)
#
# Foreign Keys
#
# fk_rails_... (guest_id => guests.id)
# fk_rails_... (product_id => products.id)
# fk_rails_... (store_id => stores.id)
#
one:
price: 9.99
discount_price: 9.99
upvotes: 1
downvotes: 1
reported_at: 2026-05-17 14:11:07
product: one
store: one
guest: one
two:
price: 9.99
discount_price: 9.99
upvotes: 1
downvotes: 1
reported_at: 2026-05-17 14:11:07
product: two
store: two
guest: two