diff --git a/pixl_core/src/core/database.py b/pixl_core/src/core/database.py index a50976a89..6071076f4 100644 --- a/pixl_core/src/core/database.py +++ b/pixl_core/src/core/database.py @@ -24,7 +24,7 @@ class Base(DeclarativeBase): """sqlalchemy base class""" - metadata = MetaData(schema="pixl") + metadata = MetaData(schema="pipeline") class Extract(Base): diff --git a/postgres/create_pixl_tbls.py b/postgres/create_pixl_tbls.py index 01f5e5c69..142563e01 100644 --- a/postgres/create_pixl_tbls.py +++ b/postgres/create_pixl_tbls.py @@ -29,7 +29,7 @@ engine = create_engine(url, echo=True, echo_pool="debug") with engine.connect() as connection: - connection.execute(CreateSchema("pixl", if_not_exists=True)) + connection.execute(CreateSchema("pipeline", if_not_exists=True)) connection.commit() Base.metadata.create_all(engine)