Debian Codegraph @

neutron_fwaas/db/migration/alembic_migrations/versions/2025.1/contract/1007f519ea46_drop_v1.py

raw symbols SCIP
1 # Copyright 2025 NTT DATA Group
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
13 # under the License.
14 #
15
16 """Drop v1
17
18 Revision ID: 1007f519ea46
19 Revises: fd38cd995cc0
20 Create Date: 2025-03-02 14:06:28.794129
21
22 """
23
24 from alembic import op
25
26 # revision identifiers, used by Alembic.
27 revision = '1007f519ea46'
28 down_revision = 'fd38cd995cc0'
29
30
31 def upgrade():
32 table_names = [
33 'cisco_firewall_associations',
34 'firewall_router_associations',
35 'firewall_rules',
36 'firewalls',
37 'firewall_policies',
38 ]
39 for table_name in table_names:
40 op.drop_table(table_name)