Websites/db/migrate/20231231020215_create_exception_logs.rb
2024-05-02 22:04:43 -05:00

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