Skip to content

declarative: Ability to import declarative schemas directly to local DB, without having to go through migrations #5204

@tolgap

Description

@tolgap

Is your feature request related to a problem? Please describe.
Now that we're fully locked into the declarative schema building, its somewhat cumbersome having to create the migrations before being able to apply them to your local DB.

Describe the solution you'd like
It would be nice, actually in general, to be able to spin up your local DB by just doing something like supabase db schema declarative reset/up and have your local DB match the schema itself, instead of going through the extra steps of migrations.

Describe alternatives you've considered
-

Additional context
-

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