Skip to content

Real enum support #97

@oojacoboo

Description

@oojacoboo

We've been avoiding enums in Propel, and sticking with varchar types in our schema, due to the inadequacies of Propel and enums. Basically, Propel assumes you'll store your enums in the database as integers. We've never done that, nor would we. Enums are more powerful as strings, at least if you ever need to read a database yourself. Unfortunately, Propel doesn't support this currently. Additionally, it doesn't generate an actual enum in the model, as it should. Or, it should accept a pre-defined enum, and use it.

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