# Database connection configurations is reset when pushing updates through Bitbucket

**URL:** <https://community.auth0.com/t/database-connection-configurations-is-reset-when-pushing-updates-through-bitbucket/19152>\
**Category:** Get Help\
**Tags:** bitbucket-extension, database-connections\
**Created:** [December 17, 2018, 6:09pm UTC](https://community.auth0.com/t/database-connection-configurations-is-reset-when-pushing-updates-through-bitbucket/19152 "2018-12-17T18:09:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduardokdavila](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eduardokdavila/32/10082_2.png) [@eduardokdavila](https://community.auth0.com/u/eduardokdavila)\
**Post date:** [December 17, 2018, 6:09pm UTC](https://community.auth0.com/t/database-connection-configurations-is-reset-when-pushing-updates-through-bitbucket/19152/1 "2018-12-17T18:09:55Z")

</div>

Everytime I push new code to my Bitbucket repository to update my database connection custom scripts, the Bitbucket extension on my Auth0 account replaces the old code by the new one, but also resets all the database connection settings.

So, everytime new code is submited, I have to recofigure the **Import Users to Auth0** setting, the **Password Policy** settings, the applications connected to the database, etc.

The only two files I provide are “login.js” and “get\_user.js”. What am I doing wrong here?

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 27, 2018, 7:39pm UTC](https://community.auth0.com/t/database-connection-configurations-is-reset-when-pushing-updates-through-bitbucket/19152/3 "2018-12-27T19:39:32Z")

</div>

Hey there @eduardokdavila, when you get a chance can you DM me your tenant name so I can take a deeper look at what may be occurring? Thanks in advance!

[https://auth0.com/docs/extensions/bitbucket-deploy](https://auth0.com/docs/extensions/bitbucket-deploy)

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 4, 2019, 4:12pm UTC](https://community.auth0.com/t/database-connection-configurations-is-reset-when-pushing-updates-through-bitbucket/19152/4 "2019-01-04T16:12:19Z")

</div>

I wanted to follow up with you @eduardokdavila to see how everything is going? Please let me know if I can be of any further help. Thank you.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 18, 2019, 8:12pm UTC](https://community.auth0.com/t/database-connection-configurations-is-reset-when-pushing-updates-through-bitbucket/19152/5 "2019-01-18T20:12:38Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
