edgedb-cli icon indicating copy to clipboard operation
edgedb-cli copied to clipboard

`edgedb migration apply` reports missing migration files if files are symbolic links

Open 0x241F31 opened this issue 1 year ago • 0 comments

  • EdgeDB Version: 4.5+28216a1
  • EdgeDB CLI Version: 4.1.0+03ae624
  • OS Version: NixOS GNU/Linux 6.1.76

Steps to Reproduce:

  1. copy migrations files anywhere and create symlinks to migrations directory
  2. run edgedb migrations apply --schema-dir=<path/to/dbschmea>

You'll se something like:

edgedb error: there is applied migration history in the database but "/nix/store/1g38wyrqdvg5pgx0bcsm953yf0kywrxw-faundr/api/dbschema/migrations" is empty

0x241F31 avatar Feb 24 '24 10:02 0x241F31