mCaptcha/sqlx-data.json

172 lines
4.9 KiB
JSON
Raw Normal View History

2021-05-12 15:07:11 +03:00
{
"db": "PostgreSQL",
2021-07-27 12:58:21 +03:00
"4303f5c6ef98e0de9d8d3c2d781d3ffaa3dee5f7d27db831d327b26f03ba9d68": {
"describe": {
"columns": [
{
"name": "time",
2022-05-07 13:40:14 +03:00
"ordinal": 0,
2021-07-27 12:58:21 +03:00
"type_info": "Timestamptz"
}
],
2022-05-07 13:40:14 +03:00
"nullable": [
false
],
2021-07-27 12:58:21 +03:00
"parameters": {
"Left": [
"Text",
"Text"
]
2022-05-07 13:40:14 +03:00
}
},
"query": "SELECT time FROM mcaptcha_pow_confirmed_stats \n WHERE \n config_id = (\n SELECT config_id FROM mcaptcha_config \n WHERE \n key = $1\n AND\n user_id = (\n SELECT \n ID FROM mcaptcha_users WHERE name = $2))\n ORDER BY time DESC"
2021-07-27 12:58:21 +03:00
},
"4c3a9fe30a4c6bd49ab1cb8883c4495993aa05f2991483b4f04913b2e5043a63": {
"describe": {
"columns": [
{
"name": "difficulty_factor",
2022-05-07 13:40:14 +03:00
"ordinal": 0,
"type_info": "Int4"
},
{
"name": "visitor_threshold",
2022-05-07 13:40:14 +03:00
"ordinal": 1,
"type_info": "Int4"
}
],
2022-05-07 13:40:14 +03:00
"nullable": [
false,
false
],
"parameters": {
"Left": [
"Int4"
]
2022-05-07 13:40:14 +03:00
}
},
"query": "SELECT \n difficulty_factor, visitor_threshold \n FROM \n mcaptcha_levels \n WHERE config_id = $1 ORDER BY difficulty_factor ASC"
},
2021-05-12 15:07:11 +03:00
"76d1b62e0c70d09247691ca328d8674c8039fab922a40352b8ab5ed5b26a5293": {
"describe": {
"columns": [
{
"name": "key",
2022-05-07 13:40:14 +03:00
"ordinal": 0,
2021-05-12 15:07:11 +03:00
"type_info": "Varchar"
},
{
"name": "name",
2022-05-07 13:40:14 +03:00
"ordinal": 1,
2021-05-12 15:07:11 +03:00
"type_info": "Varchar"
}
],
2022-05-07 13:40:14 +03:00
"nullable": [
false,
false
],
2021-05-12 15:07:11 +03:00
"parameters": {
"Left": [
"Text"
]
2022-05-07 13:40:14 +03:00
}
},
"query": "SELECT key, name from mcaptcha_config WHERE\n user_id = (SELECT ID FROM mcaptcha_users WHERE name = $1) "
2021-05-12 15:07:11 +03:00
},
"84484cb6892db29121816bc5bff5702b9e857e20aa14e79d080d78ae7593153b": {
2021-07-17 16:21:20 +03:00
"describe": {
"columns": [
{
"name": "time",
2022-05-07 13:40:14 +03:00
"ordinal": 0,
"type_info": "Timestamptz"
2021-07-17 16:21:20 +03:00
}
],
2022-05-07 13:40:14 +03:00
"nullable": [
false
],
2021-07-17 16:21:20 +03:00
"parameters": {
"Left": [
"Text",
2021-07-17 16:21:20 +03:00
"Text"
]
2022-05-07 13:40:14 +03:00
}
},
"query": "SELECT time FROM mcaptcha_pow_solved_stats \n WHERE config_id = (\n SELECT config_id FROM mcaptcha_config \n WHERE \n key = $1\n AND\n user_id = (\n SELECT \n ID FROM mcaptcha_users WHERE name = $2)) \n ORDER BY time DESC"
2021-07-17 16:21:20 +03:00
},
"a1c49ee377d6ac57fb22c9eac0ef1927a97087abd58da092a91623d06fa7076e": {
2021-07-17 16:21:20 +03:00
"describe": {
"columns": [
{
"name": "name",
"ordinal": 0,
"type_info": "Varchar"
}
],
"nullable": [
false
],
2021-07-17 16:21:20 +03:00
"parameters": {
"Left": [
"Text",
"Text"
2021-07-17 16:21:20 +03:00
]
2022-05-07 13:40:14 +03:00
}
},
"query": "SELECT name FROM mcaptcha_config \n WHERE key = $1 \n AND user_id = (\n SELECT user_id FROM mcaptcha_users WHERE NAME = $2)"
2021-07-17 16:21:20 +03:00
},
2021-05-12 15:07:11 +03:00
"ada91fac02c7bba9b13deebccda6f6fc45773b5a6e786c37c27b4a71a5cd29f2": {
"describe": {
"columns": [
{
"name": "config_id",
2022-05-07 13:40:14 +03:00
"ordinal": 0,
2021-05-12 15:07:11 +03:00
"type_info": "Int4"
},
{
"name": "duration",
2022-05-07 13:40:14 +03:00
"ordinal": 1,
2021-05-12 15:07:11 +03:00
"type_info": "Int4"
},
{
"name": "name",
2022-05-07 13:40:14 +03:00
"ordinal": 2,
2021-05-12 15:07:11 +03:00
"type_info": "Varchar"
}
],
2022-05-07 13:40:14 +03:00
"nullable": [
false,
false,
false
],
2021-05-12 15:07:11 +03:00
"parameters": {
"Left": [
"Text",
"Text"
]
2022-05-07 13:40:14 +03:00
}
},
"query": "SELECT config_id, duration, name from mcaptcha_config WHERE\n key = $1 AND\n user_id = (SELECT ID FROM mcaptcha_users WHERE name = $2) "
2021-05-12 15:07:11 +03:00
},
2021-07-27 12:58:21 +03:00
"c399efd5db1284dcb470c40f9b076851f77498c75a63a3b151d4a111bd3e2957": {
"describe": {
"columns": [
{
"name": "time",
2022-05-07 13:40:14 +03:00
"ordinal": 0,
2021-07-27 12:58:21 +03:00
"type_info": "Timestamptz"
}
],
2022-05-07 13:40:14 +03:00
"nullable": [
false
],
2021-07-27 12:58:21 +03:00
"parameters": {
"Left": [
"Text",
"Text"
]
2022-05-07 13:40:14 +03:00
}
},
"query": "SELECT time FROM mcaptcha_pow_fetched_stats\n WHERE \n config_id = (\n SELECT \n config_id FROM mcaptcha_config \n WHERE \n key = $1\n AND\n user_id = (\n SELECT \n ID FROM mcaptcha_users WHERE name = $2))\n ORDER BY time DESC"
2021-05-12 15:07:11 +03:00
}
}