# Dababase Migration

**URL:** <https://forum.heroiclabs.com/t/dababase-migration/3215>\
**Category:** Local Setup\
**Tags:** typescript\
**Created:** [October 29, 2022, 4:23pm UTC](https://forum.heroiclabs.com/t/dababase-migration/3215 "2022-10-29T16:23:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mubashirrehman9](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/mubashirrehman9/32/1407_2.png) [@mubashirrehman9](https://forum.heroiclabs.com/u/mubashirrehman9)\
**Post date:** [October 29, 2022, 4:23pm UTC](https://forum.heroiclabs.com/t/dababase-migration/3215/1 "2022-10-29T16:23:38Z")

</div>

Is it possible to add database schema and migrate it using typescrpt?

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [October 30, 2022, 11:49pm UTC](https://forum.heroiclabs.com/t/dababase-migration/3215/2 "2022-10-30T23:49:27Z")

</div>

Hi @mubashirrehman9 welcome 👋

It’s not possible to add database schema and migrations to the TypeScript support in the game server. There’s never a need to use the custom SQL support which is exposed via the server framework. In the 7 years I’ve worked with different game teams to build almost all aspects of their metagame (inventory, trading, virtual store, etc, etc.) I’ve never seen a need to use more than Nakama’s storage engine, and other builtin features.

Have you tried to use the features already available in the game server?
