edgedb

Change EdgeDB default dbschema directory


The documentation says:

By convention, your schema files should live in a directory called dbschema in the root of your project.

How can I set it into another directory? I want to place it in inner directory in my project structure.


Solution

  • You can add this to your project's edgedb.toml file:

    schema-directory = <schema-dir>