Captain (captain/message_report.rb)

chatwoot · enterprise/app/models/captain/message_report.rb · ruby · MIT
crm

== Schema Information Table name: captain_message_reports id :bigint not null, primary key description :text report_reason :string not null created_at :datetime not null

# Source: https://github.com/chatwoot/chatwoot | License: MIT | Copyright 2017-2026 Chatwoot Inc
# Provided via justclaw.it.com; keep this notice with the code.
# == Schema Information
#
# Table name: captain_message_reports
#
#  id              :bigint           not null, primary key
#  description     :text
#  report_reason   :string           not null
#  created_at      :datetime         not null
#  updated_at      :datetime         not null
#  account_id      :bigint           not null
#  conversation_id :bigint           not null
#  message_id      :bigint           not null
#  user_id         :bigint           not null
#
# Indexes
#
#  index_captain_message_reports_on_account_id       (account_id)
#  index_captain_message_reports_on_conversation_id  (conversation_id)
#  index_captain

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key