"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cloudkitty/db/sqlalchemy/alembic/versions/464e951dc3b8_initial_migration.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).

464e951dc3b8_initial_migration.py  (cloudkitty-12.1.0):464e951dc3b8_initial_migration.py  (cloudkitty-13.0.0)
skipping to change at line 26 skipping to change at line 26
Revision ID: 464e951dc3b8 Revision ID: 464e951dc3b8
Revises: None Revises: None
Create Date: 2014-08-05 17:41:34.470183 Create Date: 2014-08-05 17:41:34.470183
""" """
# revision identifiers, used by Alembic. # revision identifiers, used by Alembic.
revision = '464e951dc3b8' revision = '464e951dc3b8'
down_revision = None down_revision = None
from alembic import op from alembic import op # noqa: E402
import sqlalchemy as sa import sqlalchemy as sa # noqa: E402
def upgrade(): def upgrade():
op.create_table( op.create_table(
'states', 'states',
sa.Column('name', sa.String(length=255), nullable=False), sa.Column('name', sa.String(length=255), nullable=False),
sa.Column('state', sa.BigInteger(), nullable=False), sa.Column('state', sa.BigInteger(), nullable=False),
sa.Column('s_metadata', sa.Text(), nullable=True), sa.Column('s_metadata', sa.Text(), nullable=True),
sa.PrimaryKeyConstraint('name')) sa.PrimaryKeyConstraint('name'))
op.create_table( op.create_table(
'modules_state', 'modules_state',
 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)