Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Dec 19, 2024
1 parent 482e14f commit ff96781
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,29 @@
Create Date: 2024-12-19 10:31:05.778720
"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '2c68a907f74c'
down_revision = '3c4762751898'
revision = "2c68a907f74c"
down_revision = "3c4762751898"
branch_labels = None
depends_on = None


def upgrade():
op.alter_column('t_medias', 'source',
type_=sa.Unicode(),
existing_nullable=True,schema='taxonomie')
op.alter_column(
"t_medias", "source", type_=sa.Unicode(), existing_nullable=True, schema="taxonomie"
)


def downgrade():
op.alter_column('t_medias', 'source',
op.alter_column(
"t_medias",
"source",
type_=sa.VARCHAR(length=25),
existing_nullable=True,schema='taxonomie')
existing_nullable=True,
schema="taxonomie",
)

0 comments on commit ff96781

Please sign in to comment.