Fixed a database migration bug not discovered until now related to nested image groups converting to collateral folders. See the gotchas file for details.

This commit is contained in:
JT Smith 2002-12-10 03:09:40 +00:00
parent 65754d4c03
commit 9eed1e9e5e
2 changed files with 11 additions and 0 deletions

View file

@ -7,6 +7,16 @@ upgrading from one version to the next, or even between multiple
versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief.
4.9.2
--------------------------------------------------------------------
* If you upgraded to any of the previous betas before the release
of 4.9.2 then you will need to execute the following SQL
command on each of your databases. If you went straight from
a previous stable release (4.6.9 or before) to 4.9.2 (or
after), then please disregard this message.
update imageGroup set parentId=parentId+999 where imageGroupId>0;
4.9.0
--------------------------------------------------------------------
* If you created any templates using the previous two beta versions

View file

@ -57,6 +57,7 @@ update incrementer set nextValue=nextValue+999 where incrementerId='messageId';
update messageLog set messageLogId=messageLogId+999;
update incrementer set nextValue=nextValue+999 where incrementerId='messageLogId';
update incrementer set nextValue=nextValue+999 where incrementerId='imageGroupId';
update imageGroup set parentId=parentId+999 where imageGroupId>0;
update imageGroup set imageGroupId=imageGroupId+999 where imageGroupId>0;
update images set imageGroupId=imageGroupId+999 where imageGroupId>0;
update incrementer set incrementerId='MailForm_fieldId' where incrementerId='mailFieldId';