Connector changes from mysql to drizzle

This commit is contained in:
unknown
2016-02-08 11:27:46 +05:30
parent 86ca062150
commit 2a45fe1390
13 changed files with 75 additions and 47 deletions
@@ -1,2 +1,21 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
#
spring.profiles.default=basicauth
@@ -31,7 +31,7 @@ ALTER TABLE `m_client`
ADD CONSTRAINT `FK_m_client_m_image` FOREIGN KEY (`image_id`) REFERENCES `m_image` (`id`);
/*Move existing image locations to new table*/
drop procedure if exists migrate_customer_image_data;
/*drop procedure if exists migrate_customer_image_data;
delimiter #
create procedure migrate_customer_image_data()
@@ -64,9 +64,10 @@ end#
delimiter ;
call migrate_customer_image_data();
*/
/*Now drop the procedure*/
drop procedure if exists migrate_customer_image_data;
/*drop procedure if exists migrate_customer_image_data; */
/*Delete image key from client*/
ALTER TABLE `m_client` DROP COLUMN `image_key`;