diff --git a/neutron_vpnaas/db/migration/alembic_migrations/versions/mitaka/contract/2cb4ee992b41_multiple_local_subnets.py b/neutron_vpnaas/db/migration/alembic_migrations/versions/mitaka/contract/2cb4ee992b41_multiple_local_subnets.py index ff9df3542..63c6cd06c 100644 --- a/neutron_vpnaas/db/migration/alembic_migrations/versions/mitaka/contract/2cb4ee992b41_multiple_local_subnets.py +++ b/neutron_vpnaas/db/migration/alembic_migrations/versions/mitaka/contract/2cb4ee992b41_multiple_local_subnets.py @@ -90,9 +90,9 @@ def _make_endpoint_groups(new_groups, new_endpoints): """Create endpoint groups and their corresponding endpoints.""" md = sa.MetaData() engine = op.get_bind() - sa.Table('vpn_endpoint_groups', md, autoload=True, autoload_with=engine) + sa.Table('vpn_endpoint_groups', md, autoload_with=engine) op.bulk_insert(md.tables['vpn_endpoint_groups'], new_groups) - sa.Table('vpn_endpoints', md, autoload=True, autoload_with=engine) + sa.Table('vpn_endpoints', md, autoload_with=engine) op.bulk_insert(md.tables['vpn_endpoints'], new_endpoints)