mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-03 18:24:10 +02:00
team archive more
This commit is contained in:
parent
59e41ba7a7
commit
b5b7bc953a
8 changed files with 215 additions and 3 deletions
18
archiver/.sqlx/query-001370da21cb3c209d1fe7779f95cab7f122d51d39347f68bba252daeab7189a.json
generated
Normal file
18
archiver/.sqlx/query-001370da21cb3c209d1fe7779f95cab7f122d51d39347f68bba252daeab7189a.json
generated
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "select team_id as max from membership_history order by team_id desc limit 1;",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "max",
|
||||
"type_info": "Int4"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": []
|
||||
},
|
||||
"nullable": [false]
|
||||
},
|
||||
"hash": "001370da21cb3c209d1fe7779f95cab7f122d51d39347f68bba252daeab7189a"
|
||||
}
|
||||
18
archiver/.sqlx/query-7ff7478e1650decfe79020e2a545674bbd4b192dd0ef6331420a85897ad17166.json
generated
Normal file
18
archiver/.sqlx/query-7ff7478e1650decfe79020e2a545674bbd4b192dd0ef6331420a85897ad17166.json
generated
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "select id from teams where id > $1 order by id asc",
|
||||
"describe": {
|
||||
"columns": [
|
||||
{
|
||||
"ordinal": 0,
|
||||
"name": "id",
|
||||
"type_info": "Int4"
|
||||
}
|
||||
],
|
||||
"parameters": {
|
||||
"Left": ["Int4"]
|
||||
},
|
||||
"nullable": [false]
|
||||
},
|
||||
"hash": "7ff7478e1650decfe79020e2a545674bbd4b192dd0ef6331420a85897ad17166"
|
||||
}
|
||||
25
archiver/.sqlx/query-d27cf94073aa49a0d2d67b400f05cae073e87c1a96d6a4d419263922ae700958.json
generated
Normal file
25
archiver/.sqlx/query-d27cf94073aa49a0d2d67b400f05cae073e87c1a96d6a4d419263922ae700958.json
generated
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"db_name": "PostgreSQL",
|
||||
"query": "INSERT INTO membership_history (\n team_id, steam_id, role, joined, \"left\"\n ) VALUES ($1, $2, $3, $4, $5)",
|
||||
"describe": {
|
||||
"columns": [],
|
||||
"parameters": {
|
||||
"Left": [
|
||||
"Int4",
|
||||
"Int8",
|
||||
{
|
||||
"Custom": {
|
||||
"name": "membership_role",
|
||||
"kind": {
|
||||
"Enum": ["leader", "member"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Date",
|
||||
"Date"
|
||||
]
|
||||
},
|
||||
"nullable": []
|
||||
},
|
||||
"hash": "d27cf94073aa49a0d2d67b400f05cae073e87c1a96d6a4d419263922ae700958"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue