Skip to content

What happened with mkDeleteCascade #1523

@schoettl

Description

@schoettl

Hi there,

Just wanted to upgrade to a new stack resolver but I can't figure out where mkDeleteCascade has gone?

It appears to have vanished from persistent-template 2.9.1 to 2.12.0 (absorbed into persistent as per changelog – but I can't find it here).

I used it in my Yesod project:

share [mkPersist sqlSettings, mkDeleteCascade sqlSettings, mkMigrate "migrateAll"]
    $(persistFileWith lowerCaseSettings "config/models")

Is it save to just remove it here? At least it compiles then but I'm not sure if I understand the implications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions