price-point-api/test/fixtures/moderation_logs.yml

33 lines
804 B
YAML
Raw Normal View History

2026-05-17 11:12:43 +00:00
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2026-05-25 16:15:06 +00:00
# == Schema Information
#
# Table name: moderation_logs
#
# id :bigint not null, primary key
# moderatable_type :string not null
# reason :string
# created_at :datetime not null
# updated_at :datetime not null
# admin_id :integer not null
# moderatable_id :integer not null
#
# Indexes
#
# index_moderation_logs_on_admin_id (admin_id)
# index_moderation_logs_on_moderatable (moderatable_type,moderatable_id)
#
# Foreign Keys
#
# fk_rails_... (admin_id => admins.id)
#
2026-05-17 11:12:43 +00:00
one:
reason: MyString
moderatable: one (Chain)
2026-05-17 11:12:43 +00:00
admin: one
two:
reason: MyString
moderatable: two (Chain)
2026-05-17 11:12:43 +00:00
admin: two