I have an issue is with the following command (copied from the “Create your admin backend” form):
forest projects:create "MyProject" \
--databaseConnectionURL "postgres://user@localhost:5432/MyDB" \
--databaseSchema "MySchema" \
--applicationHost "localhost" \
--applicationPort "3310" \
Expected behavior
The project is successfully created.
Actual behavior
The project is NOT created. The response message is:
Your database looks empty! Please create some tables before running the command.
Context
Indeed my public
schema is empty. But MySchema
is certainly not. That is why I have --databaseSchema "MySchema"
.
If I create a dummy table in the public
schema, the command works as expected even though it is told to use a different schema.