cloudstack/setup/db/db
Rohit Yadav 59db01ce6e CLOUDSTACK-1347: Don't enforce not null rule on queue_proc_time of sync_item_queue
In c63dbb8804 I removed the rule from create-schema:
-  `queue_proc_time` datetime COMMENT 'when processing started for the item',

But, upgrade path schema-40to410.sql had a different rule which caused the bug:
+ALTER TABLE `cloud`.`sync_queue_item` ADD `queue_proc_time` DATETIME NOT NULL
COMMENT 'when processing started for the item' AFTER `queue_proc_number`;

In this fix we just revert to whatever rule was defined in create-schema as the
developer may have forgetten to fix same rule in create-schema and upgrade path.
This commit can be reverted or the code be fixed if we want that queue_proc_time
cannot be null.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-21 15:01:00 +05:30
..
data-217to218.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-20to21.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-21to22-cleanup.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-21to22-premium.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-21to22.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-22beta1to22beta2.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-22beta3to22beta4.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-30to301.sql Ensuring system user has password set. 2012-10-07 12:51:52 -07:00
schema-40to410-cleanup.sql db: Fix Upgrade40to41 and add cleaning path schema-40to410-cleanup.sql 2013-02-16 12:28:00 +05:30
schema-40to410.sql CLOUDSTACK-1347: Don't enforce not null rule on queue_proc_time of sync_item_queue 2013-02-21 15:01:00 +05:30
schema-217to218.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-221to222-cleanup.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-221to222-premium.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-221to222.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-222to224-cleanup.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-222to224-premium.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-222to224.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-224to225-cleanup.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-224to225.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-225to226.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-227to228-premium.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-227to228.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-228to229.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-229to2210.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-301to302-cleanup.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-301to302.sql Ensuring system user has password set. 2012-10-07 12:51:52 -07:00
schema-302to40-cleanup.sql Fixed version number in upgrade script comment (replaced 3.0.3 with 3.0.2) 2012-08-13 16:50:06 -07:00
schema-302to40.sql CLOUDSTACK-560 : Add default zone column to account table in cloud_usage table in fresh install and upgrade 2012-12-10 19:37:57 +05:30
schema-410to420-cleanup.sql db: Add stubs for Upgrade410to420, schema-410to420.sql and schema-410to420-cleanup.sql 2013-02-16 13:31:58 +05:30
schema-410to420.sql CLOUDSTACK-745: Reset a VM on reboot. On every reboot of VM, the root disk state is reset. This is for the VMs created using service offering where an optional parameter isvolatile is set true. 2013-02-21 14:59:35 +05:30
schema-2210to2211.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-2211to2212-premium.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-2211to2212.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-2212to2213.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-2213to2214.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-2214to30-cleanup.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-2214to30.sql port fix for CS-16214 2012-10-05 19:41:51 -07:00
schema-level.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-snapshot-217to224.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00
schema-snapshot-223to224.sql applying the commits from Chip Childers licensing cleanup 2012-06-26 10:44:04 -04:00