fix sql query compilation

This commit is contained in:
Schrottkatze 2024-11-13 16:15:58 +01:00
parent 283b702c56
commit 47c9c685f1
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
2 changed files with 4 additions and 18 deletions

View file

@ -1,15 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "insert into messages (chat_id, content, from_admin) values ($1, $2, true);",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid",
"Varchar"
]
},
"nullable": []
},
"hash": "40cc554af360c05ce8094effbad9aedd411bda406fddae6ff5e0c8883b07b123"
}

View file

@ -1,15 +1,16 @@
{ {
"db_name": "PostgreSQL", "db_name": "PostgreSQL",
"query": "insert into messages (chat_id, content, from_admin) values ($1, $2, false);", "query": "insert into messages (chat_id, content, from_admin) values ($1, $2, $3);",
"describe": { "describe": {
"columns": [], "columns": [],
"parameters": { "parameters": {
"Left": [ "Left": [
"Uuid", "Uuid",
"Varchar" "Varchar",
"Bool"
] ]
}, },
"nullable": [] "nullable": []
}, },
"hash": "2b5906477afca4d29d82a045873e9446b1472a3530a53b016246f2527276e16d" "hash": "d9d6b53f269952606a7387b6e2d78feccf5f6e98aba3896db6ef4c5c48965b2e"
} }