-
Notifications
You must be signed in to change notification settings - Fork 848
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Suchintan Singh <[email protected]> Co-authored-by: Suchintan <[email protected]>
- Loading branch information
1 parent
4c50f6f
commit 35f9b70
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
alembic/versions/2025_01_29_0554-5dd8928389c5_add_residential_de_proxy.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"""add_RESIDENTIAL_DE_proxy | ||
Revision ID: 5dd8928389c5 | ||
Revises: df80b5d155d0 | ||
Create Date: 2025-01-29 05:54:03.709008+00:00 | ||
""" | ||
|
||
from typing import Sequence, Union | ||
|
||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision: str = "5dd8928389c5" | ||
down_revision: Union[str, None] = "df80b5d155d0" | ||
branch_labels: Union[str, Sequence[str], None] = None | ||
depends_on: Union[str, Sequence[str], None] = None | ||
|
||
|
||
def upgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.execute("ALTER TYPE proxylocation ADD VALUE 'RESIDENTIAL_DE'") | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
# Cannot remove enum values in PostgreSQL | ||
pass | ||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters