diff --git a/data/migrations/versions/7367229b38d9_add_support_for_app_specific_tokens.py b/data/migrations/versions/7367229b38d9_add_support_for_app_specific_tokens.py index 12d378020..ffb0f00ef 100644 --- a/data/migrations/versions/7367229b38d9_add_support_for_app_specific_tokens.py +++ b/data/migrations/versions/7367229b38d9_add_support_for_app_specific_tokens.py @@ -13,6 +13,7 @@ down_revision = 'd8989249f8f6' from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql +from util.migrate import UTF8CharField def upgrade(tables): # ### commands auto generated by Alembic - please adjust! ### @@ -20,7 +21,7 @@ def upgrade(tables): sa.Column('id', sa.Integer(), nullable=False), sa.Column('user_id', sa.Integer(), nullable=False), sa.Column('uuid', sa.String(length=36), nullable=False), - sa.Column('title', sa.String(length=255), nullable=False), + sa.Column('title', UTF8CharField(length=255), nullable=False), sa.Column('token_code', sa.String(length=255), nullable=False), sa.Column('created', sa.DateTime(), nullable=False), sa.Column('expiration', sa.DateTime(), nullable=True),