Skip to content

Add drop_enum(:my_enum_type, force: :cascade, if_exists: true) #24

@shaicoleman

Description

@shaicoleman

Hi, would be useful to support to support :if_not_exists for create_enum, e.g.:

create_enum(:my_enum, %w(opt1 opt2), :if_not_exists: true)

And force: :cascade and if_exists: true for drop_enum

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions