Update tables in schema dump util
authorJakob Cornell <jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 17:04:47 +0000 (12:04 -0500)
committerJakob Cornell <jakob+gpg@jcornell.net>
Mon, 18 Apr 2022 17:04:47 +0000 (12:04 -0500)
disk_jumble/test_util/dump_db.py

index 9551bf93a365a807b75602a596a426f356118021..37ffdf20ef61f82d869679dc55c74877c277122a 100644 (file)
@@ -33,14 +33,14 @@ with contextlib.closing(psycopg2.connect("")) as conn:
                        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)