mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 10:12:34 +00:00
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
15 lines
404 B
Ruby
15 lines
404 B
Ruby
class CreateAttachments < ActiveRecord::Migration[5.0]
|
|
def change
|
|
create_table :attachments do |t|
|
|
t.string :file
|
|
t.integer :file_type, default: 0
|
|
t.string :external_url
|
|
t.integer :coordinates_lat, default: 0
|
|
t.integer :coordinates_long, default: 0
|
|
t.integer :message_id, null: false
|
|
t.integer :account_id, null: false
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|