97 lines
No EOL
2.2 KiB
JSON
97 lines
No EOL
2.2 KiB
JSON
{
|
|
"db": "SQLite",
|
|
"311dd7c05c12408abfbe7dab000687defe924e52d2ca2ed3c7d95bc4a2db039c": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "insert into api_keys (key, admin) values ($1, false)"
|
|
},
|
|
"695d9690323bef0cba686448a5053968ebbb5720a7ca5b62a7f4538c972424d2": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "insert into api_keys (key, admin) values ($1, true)"
|
|
},
|
|
"8d43fd96f18e00d562d44d710cc0f5bb2ab40f724d5cbcfcbd960ba9450f0a2d": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "admin",
|
|
"ordinal": 0,
|
|
"type_info": "Bool"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
}
|
|
},
|
|
"query": "select admin from api_keys where admin = true"
|
|
},
|
|
"906d2325e07efbaac3e84fd07994afc0b8720fb34baecb314f7e2123a83961dc": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "admin",
|
|
"ordinal": 0,
|
|
"type_info": "Bool"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "select admin from api_keys where key = $1"
|
|
},
|
|
"c0a48d1ace5682569cfd52d74396193c6b34e463d1a1dfe1e6027f6f94f7befa": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 2
|
|
}
|
|
},
|
|
"query": "insert into files (id, revocation_key) values ($1, $2)"
|
|
},
|
|
"c450bea1caa31e3fc498d3eeadc25fa27d90ad83be87e89e336f56cdb7adb628": {
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "revocation_key",
|
|
"ordinal": 0,
|
|
"type_info": "Text"
|
|
}
|
|
],
|
|
"nullable": [
|
|
false
|
|
],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "select revocation_key from files where id = $1"
|
|
},
|
|
"d0982a4445b0d5dceb424bfabdc21a88ff2c85042590e1cccd789a4cd7bc735c": {
|
|
"describe": {
|
|
"columns": [],
|
|
"nullable": [],
|
|
"parameters": {
|
|
"Right": 1
|
|
}
|
|
},
|
|
"query": "delete from files where id = $1"
|
|
}
|
|
} |