Changes between Initial Version and Version 1 of Ticket #32344


Ignore:
Timestamp:
Jan 11, 2021, 4:41:17 PM (4 years ago)
Author:
Ryan Vinzent
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32344 – Description

    initial v1  
    88}}}
    99
    10 Currently, `postgres_options` in this case is not passed to the `SchemaEditor.create_model()` call during the migration, even if it is serializable. The usefulness of a custom `SchemaEditor` is hindered if it is unable to see this extra model configuration during migrations, as this is usually the only place that a `SchemaEditor` is invoked.
     10Currently, `postgres_options` in this case is not passed to the `SchemaEditor.create_model()` call during the migration, even if it is serializable. The usefulness of a custom `SchemaEditor` is hindered if it is unable to see this extra model configuration during migrations, as this is usually the only place that a `SchemaEditor` is invoked. We are already unable to add any additional `Meta` options, so it seems like there is not currently a natural place for extra table level configuration that can be tracked by migrations.
    1111
    1212This could enable user-defined `ModelState` in migrations, and allow third-party database backends to more easily participate in the migrations framework.
Back to Top