Sha256: e7ac9214201957e4aa22070f8dabac6be2367d321a0031fd965212872a064287
Contents?: true
Size: 799 Bytes
Versions: 13
Compression:
Stored size: 799 Bytes
Contents
class CreateRailsApiLoggerTable < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change create_table :inbound_request_logs do |t| t.string :method t.string :path t.text :request_body t.text :response_body t.integer :response_code t.timestamp :started_at t.timestamp :ended_at t.references :loggable, index: true, polymorphic: true t.timestamps null: false end create_table :outbound_request_logs do |t| t.string :method t.string :path t.text :request_body t.text :response_body t.integer :response_code t.timestamp :started_at t.timestamp :ended_at t.references :loggable, index: true, polymorphic: true t.timestamps null: false end end end
Version data entries
13 entries across 13 versions & 1 rubygems