# After I upgrade to the latest Sparkflows Release, I get the following or similar error : Missing column: application\_id in FIREDB.PUBLIC.ANALYSIS\_FLOW\_EXECUTION. How can I fix this?

**URL:** <https://community.sparkflows.ai/t/after-i-upgrade-to-the-latest-sparkflows-release-i-get-the-following-or-similar-error-missing-column-application-id-in-firedb-public-analysis-flow-execution-how-can-i-fix-this/126>\
**Category:** Upgradation\
**Tags:** troubleshooting\
**Created:** [December 16, 2025, 11:18am UTC](https://community.sparkflows.ai/t/after-i-upgrade-to-the-latest-sparkflows-release-i-get-the-following-or-similar-error-missing-column-application-id-in-firedb-public-analysis-flow-execution-how-can-i-fix-this/126 "2025-12-16T11:18:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarika](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@Tarika](https://community.sparkflows.ai/u/Tarika)\
**Post date:** [December 16, 2025, 11:18am UTC](https://community.sparkflows.ai/t/after-i-upgrade-to-the-latest-sparkflows-release-i-get-the-following-or-similar-error-missing-column-application-id-in-firedb-public-analysis-flow-execution-how-can-i-fix-this/126/1 "2025-12-16T11:18:12Z")

</div>

After upgrading the Sparkflows Server, it is important to upgrade the **Database Schema**.

- Upgrade it by running **create-h2-db.sh** or **create-mysql-db.sh** from the Sparkflows install directory.
- This would upgrade your DB schema to the latest.

Otherwise you can run into an error like below, when you start the Sparkflows Server:

```Exception
Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]:
Invocation of init method failed; nested exception is org.hibernate.HibernateException:

Missing column: application_id in FIREDB.PUBLIC.ANALYSIS_FLOW_EXECUTION
```
