print(sql + ";", flush = True)
tables = [
- "diskjumble.disk",
+ "bittorrent.torrent_info",
"diskjumble.slab",
"diskjumble.verify_pass",
"diskjumble.verify_piece",
"diskjumble.verify_piece_content",
"diskjumble.verify_piece_fail",
- "diskjumble.verify_piece_incomplete",
- "bittorrent.torrent_info",
+ "public.entity",
+ "public.entityv2_leaf_hashes",
]
argv = ["pg_dump", *itertools.chain.from_iterable(["-t", table] for table in tables), "--schema-only", os.environ["PGDATABASE"]]
subprocess.run(argv, check = True)