Websites/db/migrate/20231231020215_create_exception_logs.rb

17 lines
347 B
Ruby
Raw Permalink Normal View History

2024-05-03 03:04:43 +00:00
# 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