Skip to content

Full migration handling workflow? #513

Description

@StefanBRas

Hello!

I'm evaluating this as an alternative to Atlas since a lot of their functionality is paywalled.

Right now the workflow is that I make a change to a schema.sql, then atlas generates a timestamped migration. Whenever I start my application it does atlas apply which looks at the migration files and apply all missing migrations (uses it's own in-db schema to keep track of which migrations have been run and which haven't).

It looks to me like all the required functionality to do something similar is provided by pgschema (make a migration, apply the migration) but I'd have to wire it up myself with creating and ordering the migrations and keep track of which to apply and when.

Is this out of scope for pgschema? I think it would make it much easier to migrate to, because you wouldn't have to invent your own workflow.
I work in a monorepo with many migrations and different deployments, so it's not feasible to manually track what migrations to apply

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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