Skip to content

postgres world does not put enums in schema #1808

@smndtrl

Description

@smndtrl

Currently the postgres world defines enums that aren't connected to a schema yet tables using it are. Imho everything in the world should stay in its separate schema.

See

export const workflowRunStatus = pgEnum(
'status',
mustBeMoreThanOne(WorkflowRunStatusSchema.options)
);
export const stepStatus = pgEnum(
'step_status',
mustBeMoreThanOne(StepStatusSchema.options)
);
export const waitStatus = pgEnum(
'wait_status',
mustBeMoreThanOne(WaitStatusSchema.options)
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions