This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/plugins/chat/app/models/chat_draft.rb
T
Roman Rizzi 0a5f548635 DEV: Move discourse-chat to the core repo. (#18776)
As part of this move, we are also renaming `discourse-chat` to `chat`.
2022-11-02 10:41:30 -03:00

19 lines
464 B
Ruby

# frozen_string_literal: true
class ChatDraft < ActiveRecord::Base
belongs_to :user
belongs_to :chat_channel
end
# == Schema Information
#
# Table name: chat_drafts
#
# id :bigint not null, primary key
# user_id :integer not null
# chat_channel_id :integer not null
# data :text not null
# created_at :datetime not null
# updated_at :datetime not null
#