Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old migration base/0045_auto_20200507_0445 deletes maps bbox #12144

Closed
etj opened this issue Apr 8, 2024 · 0 comments · Fixed by #12146
Closed

Old migration base/0045_auto_20200507_0445 deletes maps bbox #12144

etj opened this issue Apr 8, 2024 · 0 comments · Fixed by #12146
Assignees

Comments

@etj
Copy link
Contributor

etj commented Apr 8, 2024

Snip of migrate --plan:

base.0044_resourcebase_bbox_polygon
    Add field bbox_polygon to resourcebase
layers.0028_auto_20200323_1945
    Raw Python operation
base.0045_auto_20200507_0445
    Remove field bbox_x0 from resourcebase
    Remove field bbox_x1 from resourcebase
    Remove field bbox_y0 from resourcebase
    Remove field bbox_y1 from resourcebase

layers.0028 is populating field bbox_polygon from fields bbox_x|y_0|1.
Only layers are handled, so the bbox for maps and other resources are lost forever.

This is a really old migration. We don't want to mess up with the dependency graph, so we may want to update all resources in one of the existing migrations.

@etj etj self-assigned this Apr 8, 2024
@etj etj changed the title Old migration base/0045_auto_20200507_0445 delete maps bbox Old migration base/0045_auto_20200507_0445 deletes maps bbox Apr 8, 2024
@etj etj linked a pull request Apr 8, 2024 that will close this issue
12 tasks
@etj etj closed this as completed in #12146 Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant