173 lines
No EOL
5.7 KiB
JSON
173 lines
No EOL
5.7 KiB
JSON
{
|
|
"db": "SQLite",
|
|
"0bb37cc79d5ef803285d05d06e6ef93b62c0b532c0298148fe436178761fd70a": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "ID",
|
|
"ordinal": 0,
|
|
"type_info": "Int64"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "SELECT ID FROM starchart_forges WHERE hostname = $1"
|
|
},
|
|
"2afb17ba3753aa440465a836b46b7a1466f25791cfc4d0acdd38bc2755ae3e86": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "ID",
|
|
"ordinal": 0,
|
|
"type_info": "Int64"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "SELECT ID FROM starchart_users WHERE username = $1"
|
|
},
|
|
"30de2d37dd1bd602249cd2adfab499e41105249c20dc58cb360f539d6a782fa1": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "ID",
|
|
"ordinal": 0,
|
|
"type_info": "Int64"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "SELECT ID FROM starchart_forge_type WHERE name = $1"
|
|
},
|
|
"364c8e3d147318b864fd28ad284f225aaace9479b5cf0428fb97f0e5689e248d": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
}
|
|
},
|
|
"query": " DELETE FROM starchart_users WHERE username = $1 AND \n hostname_id = (SELECT ID FROM starchart_forges WHERE hostname = $2)"
|
|
},
|
|
"6f5ca3d71a541eb6f33e37a5889c048536ab6ad7e81a6236d73aa71433c13717": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "INSERT OR IGNORE INTO starchart_project_topics ( name ) VALUES ( $1 );"
|
|
},
|
|
"71079442588dfaece04582acdb14d2c8928c695d4eab5332d09b82cefc880d54": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "ID",
|
|
"ordinal": 0,
|
|
"type_info": "Int64"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 3
|
|
}
|
|
},
|
|
"query": "SELECT ID FROM starchart_repositories\n WHERE \n name = $1\n AND\n owner_id = ( SELECT ID FROM starchart_users WHERE username = $2)\n AND\n hostname_id = (SELECT ID FROM starchart_forges WHERE hostname = $3)"
|
|
},
|
|
"8c78e074d78291f9d3c4ef3526bae00cb356591edad79a7fb1f20aa7bb681216": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
}
|
|
},
|
|
"query": "INSERT INTO\n starchart_forges (hostname, verified_on, forge_type ) \n VALUES ($1, $2, (SELECT ID FROM starchart_forge_type WHERE name = $3))"
|
|
},
|
|
"a81dd4b5df666e22fac211092e7b8425d838dd9023aa2b17659352f30831944d": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "ID",
|
|
"ordinal": 0,
|
|
"type_info": "Int64"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 2
|
|
}
|
|
},
|
|
"query": "SELECT ID FROM starchart_users WHERE username = $1 AND \n hostname_id = (SELECT ID FROM starchart_forges WHERE hostname = $2)"
|
|
},
|
|
"b4985ad11fafa367302ca9c0126b95bc70f6ae387f9de649aabb2ef424f676db": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 6
|
|
}
|
|
},
|
|
"query": "INSERT INTO \n starchart_users (\n hostname_id, username, html_url,\n profile_photo_html_url, added_on, last_crawl_on\n ) \n VALUES (\n (SELECT ID FROM starchart_forges WHERE hostname = $1), $2, $3, $4, $5, $6)"
|
|
},
|
|
"e00c8a8b0dbeb4a89a673864055c137365c2ae7bc5daf677bdacb20f21d0fcb2": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 8
|
|
}
|
|
},
|
|
"query": "INSERT INTO \n starchart_repositories (\n hostname_id, owner_id, name, description, html_url, website, created, last_crawl\n )\n VALUES (\n (SELECT ID FROM starchart_forges WHERE hostname = $1),\n (SELECT ID FROM starchart_users WHERE username = $2),\n $3, $4, $5, $6, $7, $8\n );"
|
|
},
|
|
"e30ccfaa6aeda8cf30a2b3e9134abd0c0420441c5ed05189c3be605b1405c8e9": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
}
|
|
},
|
|
"query": "\n INSERT INTO starchart_repository_topic_mapping ( topic_id, repository_id )\n VALUES (\n (SELECT ID FROM starchart_project_topics WHERE name = $1),\n (SELECT ID FROM starchart_repositories WHERE html_url = $2)\n );"
|
|
},
|
|
"ed20e6fcac091172778119cdfc68c8e511224205a0bb7c74df192dcdfbfe63f2": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 3
|
|
}
|
|
},
|
|
"query": " DELETE FROM starchart_repositories\n WHERE \n name = $1\n AND\n owner_id = ( SELECT ID FROM starchart_users WHERE username = $2)\n AND\n hostname_id = (SELECT ID FROM starchart_forges WHERE hostname = $3)"
|
|
},
|
|
"f52cde89ec10d5ca2151c9df6ae273ee0d52af9f79bb776765cfa716aad6af53": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "DELETE FROM starchart_forges WHERE hostname = ($1)"
|
|
}
|
|
} |