Skip to content

Support drizzle ORM for generating types #4470

Description

@WcaleNieWolny

Is your feature request related to a problem? Please describe.
I am always quite frustrated when I have to generate the drizzle ORM scheme by hand. I'd love to use Supabase SDK to do it, but it's not possible. Sometimes I make a mistake in the scheme and then I have weird errors in the backend.

Describe the solution you'd like
I'd love the supabase gen types to support drizzle as a language so it can generate the schema file file for me

Describe alternatives you've considered
I could write a tool that takes the typescript definition and translates it to drizzle schema or use ChatGPT or other AI tool to translate it, but this would be prone to bugs and mistakes, so it's not a great solution

Additional context
Here is the link for the drizzle documentation: https://orm.drizzle.team/docs/overview

Metadata

Metadata

Assignees

No one assigned

    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