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
|
|
|
require "test_helper"
|
|
|
|
|
|
|
|
|
|
class ModerationLogTest < ActiveSupport::TestCase
|
|
|
|
|
# test "the truth" do
|
|
|
|
|
# assert true
|
|
|
|
|
# end
|
|
|
|
|
end
|