this repo has no description
1{
2 "db_name": "PostgreSQL",
3 "query": "\n SELECT u.id as user_id, u.did, r.repo_root_cid, r.repo_rev\n FROM users u\n JOIN repos r ON r.user_id = u.id\n WHERE u.backup_enabled = true\n AND u.deactivated_at IS NULL\n AND (\n NOT EXISTS (\n SELECT 1 FROM account_backups ab WHERE ab.user_id = u.id\n )\n OR (\n SELECT MAX(ab.created_at) FROM account_backups ab WHERE ab.user_id = u.id\n ) < NOW() - make_interval(secs => $1)\n )\n LIMIT 50\n ",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "user_id",
9 "type_info": "Uuid"
10 },
11 {
12 "ordinal": 1,
13 "name": "did",
14 "type_info": "Text"
15 },
16 {
17 "ordinal": 2,
18 "name": "repo_root_cid",
19 "type_info": "Text"
20 },
21 {
22 "ordinal": 3,
23 "name": "repo_rev",
24 "type_info": "Text"
25 }
26 ],
27 "parameters": {
28 "Left": [
29 "Float8"
30 ]
31 },
32 "nullable": [
33 false,
34 false,
35 false,
36 true
37 ]
38 },
39 "hash": "d6d533b728887666b2a9ad2d2f9e6b173131842bb9b5f9068175397fd30a50ab"
40}