Chatwoot/db/migrate/20161022072124_create_messages.rb
Pranav Raj Sreepuram 2a34255e0b Initial Commit
Co-authored-by: Subin <subinthattaparambil@gmail.com>
Co-authored-by: Manoj <manojmj92@gmail.com>
Co-authored-by: Nithin <webofnithin@gmail.com>
2019-08-14 15:18:44 +05:30

13 lines
295 B
Ruby

class CreateMessages < ActiveRecord::Migration[5.0]
def change
create_table :messages do |t|
t.text :content
t.integer :account_id
t.integer :channel_id
t.integer :inbox_id
t.integer :conversation_id
t.integer :type
t.timestamps
end
end
end