
# revision identifiers, used by Alembic.
revision = '3961ccb5d884'
down_revision = '1b229c83511d'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.alter_column('artifact', 'name', sa.VARCHAR(1024))


def downgrade():
    op.alter_column('artifact', 'name', sa.VARCHAR(128))


# revision identifiers, used by Alembic.
revision = '3961ccb5d884'
down_revision = '1b229c83511d'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.alter_column('artifact', 'name', type_=sa.VARCHAR(1024))


def downgrade():
    op.alter_column('artifact', 'name', type_=sa.VARCHAR(128))

Fix extend artifact name migration script.
Fix extend artifact name migration script.

Test Plan: ran migration locally and checked table schema

Reviewers: anupc, kylec

Reviewed By: kylec

Subscribers: changesbot

Differential Revision: https://tails.corp.dropbox.com/D151824

  
  # revision identifiers, used by Alembic.
  revision = '3961ccb5d884'
  down_revision = '1b229c83511d'
  
  from alembic import op
  import sqlalchemy as sa
  
  
  def upgrade():
-     op.alter_column('artifact', 'name', sa.VARCHAR(1024))
+     op.alter_column('artifact', 'name', type_=sa.VARCHAR(1024))
  
  
  def downgrade():
-     op.alter_column('artifact', 'name', sa.VARCHAR(128))
+     op.alter_column('artifact', 'name', type_=sa.VARCHAR(128))
  
Fix extend artifact name migration script.
## Code Before:

# revision identifiers, used by Alembic.
revision = '3961ccb5d884'
down_revision = '1b229c83511d'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.alter_column('artifact', 'name', sa.VARCHAR(1024))


def downgrade():
    op.alter_column('artifact', 'name', sa.VARCHAR(128))

## Instruction:
Fix extend artifact name migration script.
## Code After:

# revision identifiers, used by Alembic.
revision = '3961ccb5d884'
down_revision = '1b229c83511d'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.alter_column('artifact', 'name', type_=sa.VARCHAR(1024))


def downgrade():
    op.alter_column('artifact', 'name', type_=sa.VARCHAR(128))
