Skip to content

Commit

Permalink
Fix schema name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed Dec 5, 2024
1 parent 83529b9 commit 8e2274e
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 8e2274e

Please sign in to comment.