diff --git a/.sqlx/query-0bd1ca98418a7ef4993fb664b34b33e0236dee4e3453051fe9f310a4233139d4.json b/.sqlx/query-0bd1ca98418a7ef4993fb664b34b33e0236dee4e3453051fe9f310a4233139d4.json new file mode 100644 index 0000000..e8d1b34 --- /dev/null +++ b/.sqlx/query-0bd1ca98418a7ef4993fb664b34b33e0236dee4e3453051fe9f310a4233139d4.json @@ -0,0 +1,79 @@ +{ + "db_name": "PostgreSQL", + "query": "INSERT INTO repositories VALUES ($1, $2, $3, $4, $5, $6) RETURNING username, instance_url, name, description, visibility as \"visibility: _\", default_branch", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "username", + "type_info": "Text" + }, + { + "ordinal": 1, + "name": "instance_url", + "type_info": "Text" + }, + { + "ordinal": 2, + "name": "name", + "type_info": "Text" + }, + { + "ordinal": 3, + "name": "description", + "type_info": "Text" + }, + { + "ordinal": 4, + "name": "visibility: _", + "type_info": { + "Custom": { + "name": "visibility", + "kind": { + "Enum": [ + "public", + "unlisted", + "private" + ] + } + } + } + }, + { + "ordinal": 5, + "name": "default_branch", + "type_info": "Text" + } + ], + "parameters": { + "Left": [ + "Text", + "Text", + "Text", + "Text", + { + "Custom": { + "name": "visibility", + "kind": { + "Enum": [ + "public", + "unlisted", + "private" + ] + } + } + }, + "Text" + ] + }, + "nullable": [ + false, + false, + false, + true, + false, + false + ] + }, + "hash": "0bd1ca98418a7ef4993fb664b34b33e0236dee4e3453051fe9f310a4233139d4" +} diff --git a/.sqlx/query-b131bee47923bdcde91f9cfcafca60ef6394edd4af563bb23313f767077ac9eb.json b/.sqlx/query-b131bee47923bdcde91f9cfcafca60ef6394edd4af563bb23313f767077ac9eb.json new file mode 100644 index 0000000..10aef34 --- /dev/null +++ b/.sqlx/query-b131bee47923bdcde91f9cfcafca60ef6394edd4af563bb23313f767077ac9eb.json @@ -0,0 +1,16 @@ +{ + "db_name": "PostgreSQL", + "query": "DELETE FROM repositories WHERE instance_url = $1 AND username = $2 AND name = $3", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Text", + "Text", + "Text" + ] + }, + "nullable": [] + }, + "hash": "b131bee47923bdcde91f9cfcafca60ef6394edd4af563bb23313f767077ac9eb" +} diff --git a/.sqlx/query-d1acde0376963cada7e008d45c99e953b8f5540743e1a12ee919b74e24e752bd.json b/.sqlx/query-d1acde0376963cada7e008d45c99e953b8f5540743e1a12ee919b74e24e752bd.json new file mode 100644 index 0000000..31fb059 --- /dev/null +++ b/.sqlx/query-d1acde0376963cada7e008d45c99e953b8f5540743e1a12ee919b74e24e752bd.json @@ -0,0 +1,65 @@ +{ + "db_name": "PostgreSQL", + "query": "SELECT username, instance_url, name, description, visibility as \"visibility: _\", default_branch FROM repositories WHERE instance_url = $1 AND username = $2 AND name = $3", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "username", + "type_info": "Text" + }, + { + "ordinal": 1, + "name": "instance_url", + "type_info": "Text" + }, + { + "ordinal": 2, + "name": "name", + "type_info": "Text" + }, + { + "ordinal": 3, + "name": "description", + "type_info": "Text" + }, + { + "ordinal": 4, + "name": "visibility: _", + "type_info": { + "Custom": { + "name": "visibility", + "kind": { + "Enum": [ + "public", + "unlisted", + "private" + ] + } + } + } + }, + { + "ordinal": 5, + "name": "default_branch", + "type_info": "Text" + } + ], + "parameters": { + "Left": [ + "Text", + "Text", + "Text" + ] + }, + "nullable": [ + false, + false, + false, + true, + false, + false + ] + }, + "hash": "d1acde0376963cada7e008d45c99e953b8f5540743e1a12ee919b74e24e752bd" +}