Ticket #984 (closed defect: fixed)
Fix migration, where upgrade diverges from actual model.
Reported by: | kindly | Owned by: | kindly |
---|---|---|---|
Priority: | critical | Milestone: | ckan-v1.4-sprint-2 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ||
Theme: |
Description
The migration scripts have not been inline with the upgrade scripts. There are lots of discrepancies.
Attachments
Change History
comment:3 Changed 3 years ago by kindly
These are the errors listed in severity order.
- group revision tables joins wrong in many ways.
- changemask table not added.
- licence_id wrong type.
- package_revision.download_url and changset.status not dropped.
- package.name and tag.name unique constraint not added.
- update cascaded defined wrongly.
Attached are the fixes that will need to be run in ckan_migration_fixes.sql
Changed 3 years ago by kindly
- Attachment ckan_upgrade.diff added
This is the sql that needs to run on ckan.net *after* db upgrade has run on version 1.3.1
Changed 3 years ago by kindly
- Attachment ckan_upgrade_v2.sql added
This upgrade works from ckan 1.3.2.
Note: See
TracTickets for help on using
tickets.