discourse/plugins/chat/db/migrate/20220203204002_create_chat_...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
293 B
Ruby
Raw Normal View History

# 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