From 32ddb38b29f60cfc3e17421283e02997b284f419 Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Tue, 19 Sep 2023 15:22:47 +0200 Subject: [PATCH] Revert "Create unused sequences manually on the tests." This reverts commit 77a663b10d76550f68d0756d83ef82573a8eb555. --- h/db/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/h/db/__init__.py b/h/db/__init__.py index 58fb1a96765..cc4488b2dd7 100644 --- a/h/db/__init__.py +++ b/h/db/__init__.py @@ -63,8 +63,6 @@ def init(engine, base=Base, should_create=False, should_drop=False, authority=No # extension. engine.execute('CREATE EXTENSION IF NOT EXISTS "uuid-ossp";') base.metadata.create_all(engine) - # Create sequences not used explicitly in a column here - engine.execute("CREATE SEQUENCE IF NOT EXISTS annotation_id_seq;") default_org = _maybe_create_default_organization(engine, authority) _maybe_create_world_group(engine, authority, default_org)