Skip to content

Commit

Permalink
#767 update language name Flemish to Vlaams
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasGe committed Feb 6, 2023
1 parent de0baf9 commit ac5f204
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions atramhasis/alembic/versions/0978347c16f9_rename_flemish_vlaams.py
@@ -0,0 +1,24 @@
"""rename flemish vlaams
Revision ID: 0978347c16f9
Revises: 88214d86a9d1
Create Date: 2023-02-06 13:23:27.009952
"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '0978347c16f9'
down_revision = '88214d86a9d1'

def upgrade():
connection = op.get_bind()
connection.execute("UPDATE language SET name = 'Vlaams' WHERE id = 'vls'")

def downgrade():
connection = op.get_bind()
connection.execute("UPDATE language SET name = 'Flemish' WHERE id = 'vls'")

0 comments on commit ac5f204

Please sign in to comment.