2a34255e0b
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
13 lines
295 B
Ruby
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
|