From: Jakob Cornell Date: Mon, 18 Apr 2022 17:04:47 +0000 (-0500) Subject: Update tables in schema dump util X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=fe7fdf63c8bdcfa28cbbf17092e7155e56de937c;p=eros.git Update tables in schema dump util --- 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)