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.
Description:
Stormberry currently does not provide a way to set custom foreign key actions (
ON DELETEandON 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:
ON DELETEandON UPDATEactions for foreign keys directly in the model definition.Current Behavior:
ON DELETEorON UPDATEactions in the model annotations.