17 lines
347 B
Ruby
17 lines
347 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateExceptionLogs < ActiveRecord::Migration[7.1]
|
|
def change
|
|
create_table(:exception_logs) do |t|
|
|
t.string(:class_name)
|
|
t.inet(:ip_addr)
|
|
t.string(:version)
|
|
t.text(:extra_params)
|
|
t.text(:message)
|
|
t.text(:trace)
|
|
t.uuid(:code)
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|