# Custom Database Scripts migration to Auth0 actions

**URL:** <https://community.auth0.com/t/custom-database-scripts-migration-to-auth0-actions/71775>\
**Category:** Get Help\
**Tags:** custom-database\
**Created:** [October 21, 2021, 12:55pm UTC](https://community.auth0.com/t/custom-database-scripts-migration-to-auth0-actions/71775 "2021-10-21T12:55:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dovilekrivi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dovilekrivi/32/21295_2.png) [@dovilekrivi](https://community.auth0.com/u/dovilekrivi)\
**Post date:** [October 21, 2021, 12:55pm UTC](https://community.auth0.com/t/custom-database-scripts-migration-to-auth0-actions/71775/1 "2021-10-21T12:55:20Z")

</div>

Hello!

Two weeks ago I got an email with a reminder that I need to update my tenat settings to Node.js 12. I did that without any problems. But in this email it is also written: “Migrate your Custom Database Scripts, Rules and Hooks to Auth0 Actions on the Node 16 runtime”. And I am not sure if I understand this correctly.  
Does it mean that I need to rewrite my “Login” and “Get user scripts”, which are located in “Database Action Scripts” as Actions and add them to “Login” flow? If yes, how do I configure separate flows for two aplications? Because now I have two aplications and each of them has its own database with different login credentials (one app is for testing purposes, and the other runs in live system) and as I understand, in Actions window I can configure flows for all tenant applications.  
I really hope that “Database Action Scripts” and “Custom Database Scripts” ar not the same thing and I do not need to do any changes in it, but I just want to be sure. 😃

Thanks for the replys in advance!

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 21, 2021, 5:08pm UTC](https://community.auth0.com/t/custom-database-scripts-migration-to-auth0-actions/71775/3 "2021-10-21T17:08:25Z")

</div>

Hi @dovilekrivi,

Welcome to the Auth0 Community!

I understand that you are looking for some clarification on the _Action Required_ email reminder that was sent to you.

First, I’d like to clarify that the _Custom Database Script_ and _Database Action Scripts_ are synonymous with one another. Therefore, you do not need to rewrite your _Login_ and _Get User_ scripts in your Custom Database.

If you are using Rules and Hooks, then you will need to migrate to Auth0 Actions.

Please let me know if you have any further questions or concerns. I’d be happy to clarify.

Thank you.

---

<div class="post-metadata">

**Author:** ![dovilekrivi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dovilekrivi/32/21295_2.png) [@dovilekrivi](https://community.auth0.com/u/dovilekrivi)\
**Post date:** [October 22, 2021, 4:12am UTC](https://community.auth0.com/t/custom-database-scripts-migration-to-auth0-actions/71775/4 "2021-10-22T04:12:53Z")

</div>

Hello @rueben.tiow,

everything is clear now, thank you.

Have a nice day! 😊

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 6, 2021, 4:13am UTC](https://community.auth0.com/t/custom-database-scripts-migration-to-auth0-actions/71775/5 "2021-11-06T04:13:11Z")

</div>

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