"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cloudkitty/rating/pyscripts/db/sqlalchemy/alembic/versions/75c205f6f1a2_move_from_sha1_to_sha512.py" between
cloudkitty-12.1.0.tar.gz and cloudkitty-13.0.0.tar.gz

About: OpenStack CloudKitty provides Rating-as-a-Service for OpenStack.
The "Victoria" series (latest release).

75c205f6f1a2_move_from_sha1_to_sha512.py  (cloudkitty-12.1.0):75c205f6f1a2_move_from_sha1_to_sha512.py  (cloudkitty-13.0.0)
skipping to change at line 28 skipping to change at line 28
Revision ID: 75c205f6f1a2 Revision ID: 75c205f6f1a2
Revises: 4f9efa4601c0 Revises: 4f9efa4601c0
Create Date: 2019-03-25 13:53:23.398755 Create Date: 2019-03-25 13:53:23.398755
""" """
# revision identifiers, used by Alembic. # revision identifiers, used by Alembic.
revision = '75c205f6f1a2' revision = '75c205f6f1a2'
down_revision = '4f9efa4601c0' down_revision = '4f9efa4601c0'
from alembic import op from alembic import op # noqa: E402
import sqlalchemy as sa import sqlalchemy as sa # noqa: E402
def upgrade(): def upgrade():
with op.batch_alter_table('pyscripts_scripts') as batch_op: with op.batch_alter_table('pyscripts_scripts') as batch_op:
batch_op.alter_column('checksum', batch_op.alter_column('checksum',
existing_type=sa.VARCHAR(length=40), existing_type=sa.VARCHAR(length=40),
type_=sa.String(length=128)) type_=sa.String(length=128))
def downgrade(): def downgrade():
with op.batch_alter_table('pyscripts_scripts') as batch_op: with op.batch_alter_table('pyscripts_scripts') as batch_op:
batch_op.alter_column('checksum', batch_op.alter_column('checksum',
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)