Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Furniture: Destroying a Furniture respects dependent: settings #1074

Merged
merged 1 commit into from
Jan 26, 2023

Commits on Jan 26, 2023

  1. Furniture: Destroying a Furniture respects dependent: settings

    #709
    
    When we were smoke-testing the Marketplace, I realized we had to destroy
    and re-create the Marketplace, but the way we delete them was... uhhh
    not respecting the (very prudent) foreign-keys we had added!
    
    So now FurniturePlacements polymorph into their child implementation
    prior to destruction, so that all `dependent: :destroy`  etc. actions
    get carried out.
    
    Co-authored-by: Dalton <[email protected]>
    zspencer and daltonrpruitt committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    a08d11e View commit details
    Browse the repository at this point in the history