Change teamsync config to be a UTF8 field
This commit is contained in:
parent
bdd07d4f39
commit
b10608e277
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ down_revision = 'a6c463dfb9fe'
|
|||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy.dialects import mysql
|
||||
from util.migrate import UTF8LongText
|
||||
|
||||
def upgrade(tables):
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
|
@ -22,7 +22,7 @@ def upgrade(tables):
|
|||
sa.Column('transaction_id', sa.String(length=255), nullable=False),
|
||||
sa.Column('last_updated', sa.DateTime(), nullable=True),
|
||||
sa.Column('service_id', sa.Integer(), nullable=False),
|
||||
sa.Column('config', sa.Text(), nullable=False),
|
||||
sa.Column('config', UTF8LongText(), nullable=False),
|
||||
sa.ForeignKeyConstraint(['service_id'], ['loginservice.id'], name=op.f('fk_teamsync_service_id_loginservice')),
|
||||
sa.ForeignKeyConstraint(['team_id'], ['team.id'], name=op.f('fk_teamsync_team_id_team')),
|
||||
sa.PrimaryKeyConstraint('id', name=op.f('pk_teamsync'))
|
||||
|
|
Reference in a new issue