diff --git a/alembic/lsstcomcam/versions/913d10c6ed81_fix_visit_id_in_ccdvisit_views.py b/alembic/lsstcomcam/versions/913d10c6ed81_fix_visit_id_in_ccdvisit_views.py index 8974273..0d2276b 100644 --- a/alembic/lsstcomcam/versions/913d10c6ed81_fix_visit_id_in_ccdvisit_views.py +++ b/alembic/lsstcomcam/versions/913d10c6ed81_fix_visit_id_in_ccdvisit_views.py @@ -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 ### diff --git a/alembic/lsstcomcamsim/versions/ab45b3673c90_fix_visit_id_in_ccdvisit_views.py b/alembic/lsstcomcamsim/versions/ab45b3673c90_fix_visit_id_in_ccdvisit_views.py index 3a5be24..293805c 100644 --- a/alembic/lsstcomcamsim/versions/ab45b3673c90_fix_visit_id_in_ccdvisit_views.py +++ b/alembic/lsstcomcamsim/versions/ab45b3673c90_fix_visit_id_in_ccdvisit_views.py @@ -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 ###