1 /* Copyright © 2017 AT&T, Amdocs, Bell Canada
 
   3 * Licensed under the Apache License, Version 2.0 (the "License");
 
   4 * you may not use this file except in compliance with the License.
 
   5 * You may obtain a copy of the License at
 
   7 *       http://www.apache.org/licenses/LICENSE-2.0
 
   9 * Unless required by applicable law or agreed to in writing, software
 
  10 * distributed under the License is distributed on an "AS IS" BASIS,
 
  11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
  12 * See the License for the specific language governing permissions and
 
  13 * limitations under the License.
 
  17 # Drop CLDS database objects (tables, etc.)
 
  22     DROP FOREIGN KEY template_image_id_fkey01;
 
  24     DROP FOREIGN KEY template_bpmn_id_fkey01;
 
  26     DROP FOREIGN KEY template_doc_id_fkey01;
 
  29     DROP FOREIGN KEY template_id_fkey01;
 
  31     DROP FOREIGN KEY model_prop_id_fkey01;
 
  33     DROP FOREIGN KEY model_blueprint_id_fkey01;
 
  35     DROP FOREIGN KEY event_id_fkey01;
 
  37 DROP TABLE clds_service_cache;
 
  39 DROP TABLE model_instance;
 
  40 DROP TABLE model_blueprint;
 
  41 DROP TABLE model_properties;
 
  45 DROP TABLE template_doc;
 
  46 DROP TABLE template_image;
 
  47 DROP TABLE template_bpmn;
 
  50 DROP TABLE dictionary_elements;
 
  51 DROP TABLE dictionary;
 
  52 DROP TABLE tosca_model_revision;
 
  53 DROP TABLE tosca_model;