Showing 3 changed files with 160 insertions and 0 deletions
.sqlx/query-0bd1ca98418a7ef4993fb664b34b33e0236dee4e3453051fe9f310a4233139d4.json
@@ -0,0 +1,79 @@ | ||
1 | { | |
2 | "db_name": "PostgreSQL", | |
3 | "query": "INSERT INTO repositories VALUES ($1, $2, $3, $4, $5, $6) RETURNING username, instance_url, name, description, visibility as \"visibility: _\", default_branch", | |
4 | "describe": { | |
5 | "columns": [ | |
6 | { | |
7 | "ordinal": 0, | |
8 | "name": "username", | |
9 | "type_info": "Text" | |
10 | }, | |
11 | { | |
12 | "ordinal": 1, | |
13 | "name": "instance_url", | |
14 | "type_info": "Text" | |
15 | }, | |
16 | { | |
17 | "ordinal": 2, | |
18 | "name": "name", | |
19 | "type_info": "Text" | |
20 | }, | |
21 | { | |
22 | "ordinal": 3, | |
23 | "name": "description", | |
24 | "type_info": "Text" | |
25 | }, | |
26 | { | |
27 | "ordinal": 4, | |
28 | "name": "visibility: _", | |
29 | "type_info": { | |
30 | "Custom": { | |
31 | "name": "visibility", | |
32 | "kind": { | |
33 | "Enum": [ | |
34 | "public", | |
35 | "unlisted", | |
36 | "private" | |
37 | ] | |
38 | } | |
39 | } | |
40 | } | |
41 | }, | |
42 | { | |
43 | "ordinal": 5, | |
44 | "name": "default_branch", | |
45 | "type_info": "Text" | |
46 | } | |
47 | ], | |
48 | "parameters": { | |
49 | "Left": [ | |
50 | "Text", | |
51 | "Text", | |
52 | "Text", | |
53 | "Text", | |
54 | { | |
55 | "Custom": { | |
56 | "name": "visibility", | |
57 | "kind": { | |
58 | "Enum": [ | |
59 | "public", | |
60 | "unlisted", | |
61 | "private" | |
62 | ] | |
63 | } | |
64 | } | |
65 | }, | |
66 | "Text" | |
67 | ] | |
68 | }, | |
69 | "nullable": [ | |
70 | false, | |
71 | false, | |
72 | false, | |
73 | true, | |
74 | false, | |
75 | false | |
76 | ] | |
77 | }, | |
78 | "hash": "0bd1ca98418a7ef4993fb664b34b33e0236dee4e3453051fe9f310a4233139d4" | |
79 | } |
.sqlx/query-b131bee47923bdcde91f9cfcafca60ef6394edd4af563bb23313f767077ac9eb.json
@@ -0,0 +1,16 @@ | ||
1 | { | |
2 | "db_name": "PostgreSQL", | |
3 | "query": "DELETE FROM repositories WHERE instance_url = $1 AND username = $2 AND name = $3", | |
4 | "describe": { | |
5 | "columns": [], | |
6 | "parameters": { | |
7 | "Left": [ | |
8 | "Text", | |
9 | "Text", | |
10 | "Text" | |
11 | ] | |
12 | }, | |
13 | "nullable": [] | |
14 | }, | |
15 | "hash": "b131bee47923bdcde91f9cfcafca60ef6394edd4af563bb23313f767077ac9eb" | |
16 | } |
.sqlx/query-d1acde0376963cada7e008d45c99e953b8f5540743e1a12ee919b74e24e752bd.json
@@ -0,0 +1,65 @@ | ||
1 | { | |
2 | "db_name": "PostgreSQL", | |
3 | "query": "SELECT username, instance_url, name, description, visibility as \"visibility: _\", default_branch FROM repositories WHERE instance_url = $1 AND username = $2 AND name = $3", | |
4 | "describe": { | |
5 | "columns": [ | |
6 | { | |
7 | "ordinal": 0, | |
8 | "name": "username", | |
9 | "type_info": "Text" | |
10 | }, | |
11 | { | |
12 | "ordinal": 1, | |
13 | "name": "instance_url", | |
14 | "type_info": "Text" | |
15 | }, | |
16 | { | |
17 | "ordinal": 2, | |
18 | "name": "name", | |
19 | "type_info": "Text" | |
20 | }, | |
21 | { | |
22 | "ordinal": 3, | |
23 | "name": "description", | |
24 | "type_info": "Text" | |
25 | }, | |
26 | { | |
27 | "ordinal": 4, | |
28 | "name": "visibility: _", | |
29 | "type_info": { | |
30 | "Custom": { | |
31 | "name": "visibility", | |
32 | "kind": { | |
33 | "Enum": [ | |
34 | "public", | |
35 | "unlisted", | |
36 | "private" | |
37 | ] | |
38 | } | |
39 | } | |
40 | } | |
41 | }, | |
42 | { | |
43 | "ordinal": 5, | |
44 | "name": "default_branch", | |
45 | "type_info": "Text" | |
46 | } | |
47 | ], | |
48 | "parameters": { | |
49 | "Left": [ | |
50 | "Text", | |
51 | "Text", | |
52 | "Text" | |
53 | ] | |
54 | }, | |
55 | "nullable": [ | |
56 | false, | |
57 | false, | |
58 | false, | |
59 | true, | |
60 | false, | |
61 | false | |
62 | ] | |
63 | }, | |
64 | "hash": "d1acde0376963cada7e008d45c99e953b8f5540743e1a12ee919b74e24e752bd" | |
65 | } |