Why are my database bind variables missing from my app?

Validated on 4 Oct 2022 • Last edited on 2 Jul 2024

Database bind variables are only available during an app’s deployment and run times. We create app databases at build time, meaning they are bind variables not accessible during the app’s build phase.

If you need your database available at build time, you can manually inject the connection details of an existing database into the build instead of using bind variables. To do this, create an environment variable in your app’s Settings with your database’s connection string. You cannot use this solution with App Platform’s Developer Databases.

How do I fix the error "Record is managed by an App on this account, and cannot be deleted"?

Use the app’s Settings tab to remove domains associated with App Platform apps.

Why do I get the error “JavaScript heap out of memory” during deployment?

Increase the heap memory by setting the environment variable NODE_OPTIONS=–max-old-space-size=4096.

How do I fix a "permission denied for schema public" error in my dev database?

Delete the existing dev database and create a new one. Then make sure that the app deployment completes successfully.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.