Store method ID for payouts (#4752)

* Store method ID for payouts

* Fixes
This commit is contained in:
aecsocket
2025-11-10 08:41:06 -08:00
committed by GitHub
parent 9706f1597b
commit 98b4970680
6 changed files with 95 additions and 52 deletions

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "\n SELECT id, user_id, created, amount, status, method, method_address, platform_id, fee\n FROM payouts\n WHERE id = ANY($1)\n ",
"query": "\n SELECT id, user_id, created, amount, status, method, method_id, method_address, platform_id, fee\n FROM payouts\n WHERE id = ANY($1)\n ",
"describe": {
"columns": [
{
@@ -35,16 +35,21 @@
},
{
"ordinal": 6,
"name": "method_address",
"name": "method_id",
"type_info": "Text"
},
{
"ordinal": 7,
"name": "platform_id",
"name": "method_address",
"type_info": "Text"
},
{
"ordinal": 8,
"name": "platform_id",
"type_info": "Text"
},
{
"ordinal": 9,
"name": "fee",
"type_info": "Numeric"
}
@@ -63,8 +68,9 @@
true,
true,
true,
true,
true
]
},
"hash": "83f8d3fcc4ba1544f593abaf29c79157bc35e3fca79cc93f6512ca01acd8e5ce"
"hash": "2aa9704c9ead520fb61b4ca1e94c7c70a245b0cc48ae3f4883393bfd57a685f1"
}

View File

@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
"query": "\n INSERT INTO payouts (\n id, amount, fee, user_id, status, method, method_address, platform_id\n )\n VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8\n )\n ",
"query": "\n INSERT INTO payouts (\n id, amount, fee, user_id, status, method, method_id, method_address, platform_id\n )\n VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9\n )\n ",
"describe": {
"columns": [],
"parameters": {
@@ -12,10 +12,11 @@
"Varchar",
"Text",
"Text",
"Text",
"Text"
]
},
"nullable": []
},
"hash": "285c089b43bf0225ba03e279f7a227c3483bae818d077efdc54e588b858c8760"
"hash": "c82bf13a2567f772a4c6eb3329971049791dab817ac07708873ac57986c17e2c"
}