omid
omid

Reputation: 842

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.

Upvotes: 0

Views: 63

Answers (1)

raddevon
raddevon

Reputation: 3360

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

schema-directory = <schema-dir>

Upvotes: 1

Related Questions