Skip to content

Commit

Permalink
Merge pull request #64 from lsst-dm/tickets/DM-47964a
Browse files Browse the repository at this point in the history
DM-47964 (hotfix): Fix schema name.
  • Loading branch information
ktlim authored Dec 5, 2024
2 parents 83529b9 + 8e2274e commit 6889478
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@

def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.execute("ALTER TABLE cdb_latiss.ccdvisit1 RENAME COLUMN exposure_id TO visit_id")
op.execute("ALTER TABLE cdb_lsstcomcam.ccdvisit1 RENAME COLUMN exposure_id TO visit_id")
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.execute("ALTER TABLE cdb_latiss.ccdvisit1 RENAME COLUMN visit_id TO exposure_id")
op.execute("ALTER TABLE cdb_lsstcomcam.ccdvisit1 RENAME COLUMN visit_id TO exposure_id")
# ### end Alembic commands ###
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@

def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.execute("ALTER TABLE cdb_latiss.ccdvisit1 RENAME COLUMN exposure_id TO visit_id")
op.execute("ALTER TABLE cdb_lsstcomcamsim.ccdvisit1 RENAME COLUMN exposure_id TO visit_id")
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.execute("ALTER TABLE cdb_latiss.ccdvisit1 RENAME COLUMN visit_id TO exposure_id")
op.execute("ALTER TABLE cdb_lsstcomcamsim.ccdvisit1 RENAME COLUMN visit_id TO exposure_id")
# ### end Alembic commands ###

0 comments on commit 6889478

Please sign in to comment.