Skip to content

Support for Custom Foreign Key Actions (ON DELETE and ON UPDATE) #82

@developerjamiu

Description

@developerjamiu

Description:

Stormberry currently does not provide a way to set custom foreign key actions (ON DELETE and ON UPDATE) directly in the model annotations. This makes it impossible to specify cascading delete or update actions for foreign keys without manually modifying the generated migration files.

Expected Behavior:

  • Provide a way to specify ON DELETE and ON UPDATE actions for foreign keys directly in the model definition.

Current Behavior:

  • There is no direct way to set ON DELETE or ON UPDATE actions in the model annotations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions