8000 Aerich doesn't see on_delete parameter change of foreign key · Issue #298 · tortoise/aerich · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Aerich doesn't see on_delete parameter change of foreign key  #298
Open
@ivictor777

Description

@ivictor777

I change from
group = fields.ForeignKeyField('models.Group', null=True)
to
group = fields.ForeignKeyField('models.Group', on_delete=RESTRICT, null=True)

then

bash # aerich migrate
No changes detected

Can you fix this please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0