# \#postgresql

**URL:** https://community.auth0.com/tag/postgresql/518.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Error cb.apply is not a function from PostgresSQL Database Action Script Template](https://community.auth0.com/t/error-cb-apply-is-not-a-function-from-postgressql-database-action-script-template/89993)

<div class="topic-metadata">

**Author:** [@jfletcher](https://community.auth0.com/u/jfletcher)\
**Replies:** 2\
**Last updated:** [November 4, 2022, 2:04pm UTC](https://community.auth0.com/t/error-cb-apply-is-not-a-function-from-postgressql-database-action-script-template/89993 "2022-11-04T14:04:58Z")

</div>

I am trying to connect to my PostgresSQL database hosted on Heroku through Auth0’s Database Connections. I am following the postgresSQL template as closely as possible; however, I am getting an Error: cb.apply is not a…

---

## [Automatic migration only works if password is reset](https://community.auth0.com/t/automatic-migration-only-works-if-password-is-reset/58849)

<div class="topic-metadata">

**Author:** [@mclslee](https://community.auth0.com/u/mclslee)\
**Replies:** 5\
**Last updated:** [March 8, 2021, 12:06pm UTC](https://community.auth0.com/t/automatic-migration-only-works-if-password-is-reset/58849 "2021-03-08T12:06:59Z")

</div>

Hi all, thanks for taking the time to read. Just a heads up, I might be posting more questions in the very near future as I’m trying to migrate our entire auth flow out of the application into auth0! I’m trying to lever…

---

## [Error on custom database create hook](https://community.auth0.com/t/error-on-custom-database-create-hook/9366)

<div class="topic-metadata">

**Author:** [@dmead](https://community.auth0.com/u/dmead)\
**Replies:** 1\
**Last updated:** [December 17, 2018, 3:07pm UTC](https://community.auth0.com/t/error-on-custom-database-create-hook/9366 "2018-12-17T15:07:30Z")

</div>

Hi. how do i fix this? it’s not even entering the create hook but rejecting on some configuration. If i switch foo@bar.com to be just a username, it says invalid email.
