"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "octavia/db/migration/alembic_migrations/versions/d85ca7258d21_modernize_l7rule.py" between
octavia-7.1.1.tar.gz and octavia-8.0.0.tar.gz

About: OpenStack Octavia is an operator-grade reference implementation for Load Balancing as a Service (LBaaS).
The "Wallaby" series (latest release).

d85ca7258d21_modernize_l7rule.py  (octavia-7.1.1):d85ca7258d21_modernize_l7rule.py  (octavia-8.0.0)
skipping to change at line 52 skipping to change at line 52
# Add project_id # Add project_id
op.add_column( op.add_column(
u'l7rule', u'l7rule',
sa.Column(u'project_id', sa.String(36), nullable=True) sa.Column(u'project_id', sa.String(36), nullable=True)
) )
# Add enabled # Add enabled
op.add_column( op.add_column(
u'l7rule', u'l7rule',
sa.Column(u'enabled', sa.Boolean(), nullable=False) sa.Column(u'enabled', sa.Boolean(),
server_default=sa.sql.expression.true(),
nullable=False)
) )
# Add new operating_status column, setting existing rows to ONLINE # Add new operating_status column, setting existing rows to ONLINE
op.add_column( op.add_column(
u'l7rule', u'l7rule',
sa.Column(u'operating_status', sa.String(16), sa.Column(u'operating_status', sa.String(16),
nullable=False, server_default=constants.ONLINE) nullable=False, server_default=constants.ONLINE)
) )
# Remove the default, as we don't actually want one # Remove the default, as we don't actually want one
op.alter_column(u'l7rule', u'operating_status', op.alter_column(u'l7rule', u'operating_status',
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

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