From fe7fdf63c8bdcfa28cbbf17092e7155e56de937c Mon Sep 17 00:00:00 2001 From: Jakob Cornell Date: Mon, 18 Apr 2022 12:04:47 -0500 Subject: [PATCH] Update tables in schema dump util --- disk_jumble/test_util/dump_db.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/disk_jumble/test_util/dump_db.py b/disk_jumble/test_util/dump_db.py index 9551bf9..37ffdf2 100644 --- a/disk_jumble/test_util/dump_db.py +++ b/disk_jumble/test_util/dump_db.py @@ -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) -- 2.30.2