mirror of https://github.com/apache/cloudstack.git
Upgrades from 4.4 where not working properly due to errors like this:
ERROR 1833 (HY000): Cannot change column 'id': used in a foreign key constraint 'fk_global_load_balancing_rules_region_id' of table 'cloud.global_load_balancing_rules'
The disabling of the checks is for the current session only, so it's safe.
In the 4.4 branch, this file used to be at:
client/target/utilities/scripts/db/db/schema-442to450.sql
It's now moved. We need to edit it in 4.4 and 4.5 to have it effective.
This closes #164
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| db | ||
| 22beta4to22GA.sql | ||
| 221to222upgrade.sh | ||
| create-database-premium.sql | ||
| create-database-simulator.sql | ||
| create-database.sql | ||
| create-schema-premium.sql | ||
| create-schema-simulator.sql | ||
| create-schema.sql | ||
| data-20to21.sql | ||
| data-22beta1to22beta2.sql | ||
| deploy-db-clouddev.sh | ||
| deploy-db-dev.sh | ||
| deploy-db-simulator.sh | ||
| hypervisor_capabilities.simulator.sql | ||
| index-20to21.sql | ||
| index-212to213.sql | ||
| postprocess-20to21.sql | ||
| server-setup.sql | ||
| server-setup.xml | ||
| templates.simulator.sql | ||
| templates.sql | ||