Skip to content

[Docs] migrator: shadow schema #434

@indeyets

Description

@indeyets

I'm trying to migrate to pgkit/migrator from older slonik-based version. I'm mostly good except for understanding the usage of shadow database.

  • Is it a requirement or there's some way to work without it?
  • Our database servers are configured in a way where accounts do not have privileges to create new schemas in cluster. We can allow some hardcoded name for the "staging" probably. But then we need a way to specify this name via config.
  • Would be nice if migrator could detect this "misconfiguration" of database server and show friendly error instead of "scary" QueryError :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions