Debian Codegraph @

contrib/ast-db-manage/config/versions/d5122576cca8_add_transport_attribute_to_identify.py

raw symbols SCIP
1 """add transport attribute to identify
2
3 Revision ID: d5122576cca8
4 Revises: cf150a175fd3
5 Create Date: 2024-03-28 14:29:43.372496
6
7 """
8
9 # revision identifiers, used by Alembic.
10 revision = 'd5122576cca8'
11 down_revision = 'cf150a175fd3'
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('transport', sa.String(128)))
18
19 def downgrade():
20 op.drop_column('ps_endpoint_id_ips', 'transport')