contrib/ast-db-manage/config/versions/cf150a175fd3_add_match_request_uri_attribute_to_.py
raw symbols SCIP| 1 | """add match_request_uri attribute to identify |
| 2 | |
| 3 | Revision ID: cf150a175fd3 |
| 4 | Revises: 8fce8496f03e |
| 5 | Create Date: 2024-03-28 14:19:15.033869 |
| 6 | |
| 7 | """ |
| 8 | |
| 9 | # revision identifiers, used by Alembic. |
| 10 | revision = 'cf150a175fd3' |
| 11 | down_revision = '8fce8496f03e' |
| 12 | |
| 13 | from alembic import op |
| 14 | import sqlalchemy as sa |
| 15 | |
| 16 | def upgrade(): |
| 17 | op.add_column('ps_endpoint_id_ips', sa.Column('match_request_uri', sa.String(255))) |
| 18 | |
| 19 | def downgrade(): |
| 20 | op.drop_column('ps_endpoint_id_ips', 'match_request_uri') |