Skip to content

[TRI-1948] Self-hosting: non-public schemas will fail on the initial db migrations #1026

Open
@matt-aitken

Description

@matt-aitken

A migration was accidentally added that had a hard-coded reference to "public". We can't just remove that because it will cause a mismatch between the applied migrations table hash and the migration files.

Potential fix

  • Update the migration to fix it.
  • Add a script that runs before db migrate deploy in shell startup script.
    • Update hash for the bad migration.
    • Make that SQL available to run somewhere else, maybe in a Readme

From SyncLinear.com | TRI-1948

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions