Currently a Postgres enum column shows, eg:
# state :enum default("creating"), not null
The actual schema contains:
t.enum "state", default: "creating", null: false, enum_type: "states"
create_enum :states, [
"creating",
"deploying",
"completed",
"failed",
"superseded",
], force: :cascade
Which is more useful information for the developer.
Currently a Postgres enum column shows, eg:
The actual schema contains:
Which is more useful information for the developer.