Changes between Version 1 and Version 2 of Ticket #31416, comment 18


Ignore:
Timestamp:
Apr 18, 2020, 8:32:17 PM (4 years ago)
Author:
Nan Liu

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31416, comment 18

    v1 v2  
    1414Hi Adam,
    1515
    16 So, my code should be correct by using `self.get_changes([Readable], [Readable with no fields, Book, Magazine])`. but my code meant to fix this issue wasn't executed when I use `self.get_changes` while doing two separate migrations will execute my added code, which is confusing. Also I suspect that the first migration will construct a `loader.graph` that will reorder the action operations.
     16So, my code should be correct by using `self.get_changes([Readable], [Readable with no fields, Book, Magazine])` (I will use predefined model states later!). but my code meant to fix this issue wasn't executed when I use `self.get_changes` while doing two separate migrations will execute my added code, which is confusing. Also I suspect that the first migration will construct a `loader.graph` that will reorder the action operations.
Back to Top