Github user bhaisaab commented on the pull request: https://github.com/apache/cloudstack/pull/768#issuecomment-161539427 @remibergsma we should not have the alter statement both in sql file and the Java upgrade path. Since the putting it in SQL might throw exceptions causing the upgrade path execution to abort (in case of an existing column), we decided to put in the Java upgrade class with a try-catch (in case of an existing column, we simply ignore it).
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---