price-point-api/test/fixtures/moderation_logs.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

34 lines
852 B
YAML

# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
# == 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)
#
one:
reason: MyString
moderatable: one
moderatable_type: Moderatable
admin: one
two:
reason: MyString
moderatable: two
moderatable_type: Moderatable
admin: two