0978347c16f9_rename_flemish_vlaams.downgrade()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nop 0
1
"""rename flemish vlaams
2
3
4
Revision ID: 0978347c16f9
5
Revises: 88214d86a9d1
6
Create Date: 2023-02-06 13:23:27.009952
7
8
"""
9
10
from alembic import op
11
12
13
# revision identifiers, used by Alembic.
14
revision = '0978347c16f9'
15
down_revision = '88214d86a9d1'
16
17
def upgrade():
18
    op.execute("UPDATE language SET name = 'Vlaams' WHERE id = 'vls'")
19
    
20
def downgrade():
21
    op.execute("UPDATE language SET name = 'Flemish' WHERE id = 'vls'")
22