Skip to content

Commit

Permalink
fix column name
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanneBogart committed May 18, 2024
1 parent 71d1767 commit 582d010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dataregistry/db_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def __init__(self, db_connection, get_db_version=True):
else:
prov_name = ".".join([self._schema, "provenance"])
prov_table = self._metadata.tables[prov_name]
stmt = select(column("production_schema")).select_from(prov_table)
stmt = select(column("associated_production")).select_from(prov_table)
stmt = stmt.order_by(prov_table.c.provenance_id.desc())
with self._engine.connect() as conn:
results = conn.execute(stmt)
Expand Down

0 comments on commit 582d010

Please sign in to comment.