rhtyd commented on a change in pull request #2449: WIP CLOUDSTACK-10278 
idempotent column addition
URL: https://github.com/apache/cloudstack/pull/2449#discussion_r168577563
 
 

 ##########
 File path: engine/schema/resources/META-INF/db/schema-41000to41100.sql
 ##########
 @@ -19,8 +19,54 @@
 -- Schema upgrade from 4.10.0.0 to 4.11.0.0
 --;
 
+--;
+-- Stored procedure to do idempotent column add;
+--;
+DROP PROCEDURE IF EXISTS `cloud`.`IDEMPOTENT_ADD_COLUMN`;
 
 Review comment:
   @ernjvr /cc @DaanHoogland @rafaelweingartner  - is it possible to refactor 
these methods out to a Java/sql file, and automatically include them in all sql 
files so that these procedures may be reused (somehow)? Or, perhaps explore 
migrating to something else that provides these abstractions, perhaps flywaydb 
etc?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to