Task #11516 (closed)
DB upgrade script from 4.4 to 5.0
Reported by: | jamoore | Owned by: | mtbcarroll |
---|---|---|---|
Priority: | blocker | Milestone: | 5.0.0-rc1 |
Component: | ORM | Version: | 5.0.0-beta1 |
Keywords: | DB | Cc: | ux@…, java@…, cxallan, czmacleod |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | OMERO 5 Beta 2 (1) |
Description
Using https://github.com/openmicroscopy/openmicroscopy/blob/develop/sql/misc/Makefile as with other upgrade scripts, a single cumulative upgrade script from 4.4__0 to the current state of beta1 needs to be provided. This will be the basis for all of the testing that goes into beta2.
Several partial upgrades are already available:
Change History (7)
comment:1 Changed 11 years ago by mtbcarroll
- Status changed from new to accepted
comment:2 Changed 11 years ago by mtbcarroll
comment:3 Changed 11 years ago by mtbcarroll
- Sprint set to OMERO 5 Beta 2 (1)
comment:4 Changed 10 years ago by mtbcarroll
What will beta2 actually be called in dbpatch (currentversion, currentpatch)? 5.0DEV_n where n > 6?
comment:5 Changed 10 years ago by jamoore
For beta2, I would think 5.0__0. Then each subsequent beta would bump 5.0__1 etc. with DEV versions between as necessary.
comment:6 Changed 10 years ago by mtbcarroll
- Resolution set to fixed
- Status changed from accepted to closed
Fixed by https://github.com/openmicroscopy/openmicroscopy/pull/1691, further SQL will be added as the model further changes, just let me know.
comment:7 Changed 10 years ago by Josh Moore <josh@…>
- Remaining Time set to 0
(In [1217c423ec04084f8105e4874d70f992b900116d/ome.git] on branch develop) Merge pull request #1691 from mtbc/db-upgrade-11516
fix #11516: add upgrade scripts from 4.4 to 5.0
The script in https://github.com/mtbc/openmicroscopy/blob/db-upgrade-11516/sql/psql/OMERO5.0DEV__6/OMERO4.4__0.sql seems to be working for 4.4 patch 0 to 5.0DEV patch 6.