Ykeremy/add ie proxy (#663)

This commit is contained in:
Kerem Yilmaz 2024-07-31 02:36:27 -07:00 committed by GitHub
parent b2d692f005
commit d1292d6de0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,29 @@
"""Add RESIDENTIAL_IE to ProxyLocation enum
Revision ID: c5ed5a3a14eb
Revises: 94bc3829eed6
Create Date: 2024-07-31 09:32:03.548241+00:00
"""
from typing import Sequence, Union
from alembic import op
# revision identifiers, used by Alembic.
revision: str = "c5ed5a3a14eb"
down_revision: Union[str, None] = "94bc3829eed6"
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_IE'")
# ### end Alembic commands ###
def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
pass
# ### end Alembic commands ###

View file

@ -17,6 +17,7 @@ class ProxyLocation(StrEnum):
US_WA = "US-WA"
RESIDENTIAL = "RESIDENTIAL"
RESIDENTIAL_ES = "RESIDENTIAL_ES"
RESIDENTIAL_IE = "RESIDENTIAL_IE"
NONE = "NONE"