You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this comes from #1121, where it was discussed about piccolo not executing backwards migrations (not sure which ones are and which ones aren't, I'm afraid).
In that discussion, @sinisaos provided a quick-patch that, apparently made those backwards migrations to start working and this issue is about to consider that fix, or a better one.
(yes, it creates a composite index on migration, because the models don't support them)
And the problem is that, while piccolo migrations forwards myapp works and the index is created, trying to backwards it doesn't work at all, with the code not being invoked ever.
And that's it, so far. Again, the linked discussion has a "working" solution (tested here) and contains other details that may be of interest.
Ciao :-)
The text was updated successfully, but these errors were encountered:
Hi,
this comes from #1121, where it was discussed about piccolo not executing backwards migrations (not sure which ones are and which ones aren't, I'm afraid).
In that discussion, @sinisaos provided a quick-patch that, apparently made those backwards migrations to start working and this issue is about to consider that fix, or a better one.
Basically, this is the migration step:
(yes, it creates a composite index on migration, because the models don't support them)
And the problem is that, while
piccolo migrations forwards myapp
works and the index is created, trying to backwards it doesn't work at all, with the code not being invoked ever.And that's it, so far. Again, the linked discussion has a "working" solution (tested here) and contains other details that may be of interest.
Ciao :-)
The text was updated successfully, but these errors were encountered: