3e02840628
Following on from removing the k8s specific APIs in I1f6f04a35dfbb39f217487fea104ded035b75569 the objects associated with these APIs need removal. Remove the service object, drop the db table and remove references to the service object. Change-Id: I4f06bb779caa0ad369a2b96b4714e1bf2db8acc6 Partially-Implements: blueprint delete-container-endpoint
29 lines
859 B
Python
29 lines
859 B
Python
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
"""remove service object
|
|
|
|
Revision ID: 085e601a39f6
|
|
Revises: a1136d335540
|
|
Create Date: 2016-05-25 12:05:30.790282
|
|
|
|
"""
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '085e601a39f6'
|
|
down_revision = 'a1136d335540'
|
|
|
|
from alembic import op
|
|
|
|
|
|
def upgrade():
|
|
op.drop_table('service')
|