cloudstack/setup/db
Rohit Yadav c63dbb8804 db: Refactor new change in create-schema/premium to schema40-410.sql
- Move changes since 4.0 to schema upgrade path (schema40-410.sql)
- Comment out some table names where we're trying to copy uuid from id, they
  don't exists
- We don't run above step for tables which are newly created for 410 and don't
  exist in 4.0 for example autoscale related ones, code is commented and not removed
- Drop indexes which are removed before dropping the column
- Comment out insertion, as for default region we're inserting the same in
  code, in ConfigurationServerImpl:createDefaultRegion(), fix same in premium

Testing;
Deployed fresh 4.0 database, compiled and ran mgmt server. It did a smooth
rolling upgrade from 4.0 to 4.1.0 with no database exceptions or any other db error.

TODO:
- 4.2.0 relates changes like ipv6 should go into its schema-410to420.sql

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-16 17:12:26 +05:30
..
db db: Refactor new change in create-schema/premium to schema40-410.sql 2013-02-16 17:12:26 +05:30
22beta4to22GA.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
221to222upgrade.sh applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
create-database-premium.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
create-database-simulator.sql property files and build file fixes for simulator db changes 2012-09-17 17:33:26 +05:30
create-database.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
create-schema-premium.sql db: Refactor new change in create-schema/premium to schema40-410.sql 2013-02-16 17:12:26 +05:30
create-schema-simulator.sql simulator: resurrect simulator hypervisor as plugin 2012-12-23 19:28:57 -08:00
create-schema-view.sql CLOUDSTACK-713: Limit Resources(CPU and Memory) to domain/accounts 2013-02-12 12:02:07 -08:00
create-schema.sql db: Refactor new change in create-schema/premium to schema40-410.sql 2013-02-16 17:12:26 +05:30
data-20to21.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
data-22beta1to22beta2.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
deploy-db-clouddev.sh It's due to replace.properties is missing, by default the password is cloud for user cloud 2012-07-09 11:48:43 -07:00
deploy-db-dev.sh Separate db view creation into create-schema-view.sql. 2013-01-03 18:23:09 -08:00
deploy-db-simulator.sh Separate db view creation into create-schema-view.sql. 2013-01-03 18:23:09 -08:00
index-20to21.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
index-212to213.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
postprocess-20to21.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
server-setup.sql Remove updateUuids code in ConfigurationServerImpl (which is not the 2013-01-08 17:12:14 -08:00
server-setup.xml Summary: Fix hanging references to /var/lib/cloud, changed to /var/cloudstack 2013-02-13 13:22:28 -07:00
templates.simulator.sql Remove updateUuids code in ConfigurationServerImpl (which is not the 2013-01-08 17:12:14 -08:00
templates.sql Templates: Add Ubuntu 12.04 to the templates 2013-01-15 13:25:48 +01:00