Skip to content

Commit

Permalink
fix(api): PENG-2456 add an execute command in the alembic revision 99…
Browse files Browse the repository at this point in the history
…c3877d0f10

This commit modifies the alembic revision *99c3877d0f10* in order to create the timescaledb extension in case it doesn't exist.
  • Loading branch information
matheushent committed Dec 18, 2024
1 parent cb06f8c commit 746d6ea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def process_result_value(self, value: datetime | None, dialect: sa.Dialect) -> i

def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.execute(sa.text("CREATE EXTENSION IF NOT EXISTS timescaledb"))
op.create_table(
"job_submission_metrics",
sa.Column(
Expand Down

0 comments on commit 746d6ea

Please sign in to comment.