mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -06:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
13 lines
293 B
Ruby
13 lines
293 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateChatDraftsTable < ActiveRecord::Migration[6.1]
|
|
def change
|
|
create_table :chat_drafts do |t|
|
|
t.integer :user_id, null: false
|
|
t.integer :chat_channel_id, null: false
|
|
t.text :data, null: false
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|