weixin_39610759
weixin_39610759
2020-12-02 01:32

Refactor psql migrations

Migrating a fresh postgres database errs out as psql was missing user credentials. Also a given user cannot run a migration to create the user (chicken and the egg situation). I solved the problem by creating the user in psql before the fragmenta migration and passing those creds into fragmenta new at a prompt.

该提问来源于开源项目:fragmenta/fragmenta

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

7条回答

为你推荐

换一换