Migartions database name should be configurable
ChrisSG opened this issue · 2 comments
ChrisSG commented
Currently it seems that the name of the target database for migrations is fixed to "default"
hasura-storage/migrations/hasura.go
Line 149 in 97a03dc
This produces the following error when there is no database named "default":
problem applying hasura metadata: problem adding metadata for the buckets table: status_code: 400\nresponse: {\"error\":\"source with name \\\"default\\\" does not exist\",\"path\":\"$.args\",\"code\":\"not-exists\"}
Probably it sould be possible to configure it by using an environment variable.
dbarrosop commented
That makes sense, feel free to open a PR with the addition.