add auditing for qrpay gateway

This commit is contained in:
Dev Team
2025-06-18 16:23:34 +06:30
parent 46ab479c86
commit 5bb7fa807d
5 changed files with 95 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
class PaymentGatewayAudits < ActiveRecord::Migration[5.1]
def change
create_table :payment_gateway_audits do |t|
t.string :receipt_no
t.string :payment_gateway_name
t.string :request_method
t.string :event_type
t.string :endpoint_url
t.json :request_body
t.json :response_body
t.timestamps
t.string :shop_code
end
end
end