mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 22:50:45 +08:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
19 lines
464 B
Ruby
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
|
|
#
|