Skip to content

Automatically destroy dependent records #67

@jekuno

Description

@jekuno

Currently you have to manually add relations such as
has_many :animals, dependent: :destroy
for all tenanted models to tenant.rb.

Idea: Extend milia to automatically add
has_many :my_tenanted_model, dependent: destroy
associations for all tenenated models.

Does anybody have an opinion on this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions