Text Reverting Issue in App Hosted on Fly.io

I have created an app with input field, which allows the admin to input text, save it in a database table like prisma SQlite, and display it on the storefront. The app is successfully hosted on Fly.io with the help of this doc https://shopify.dev/docs/apps/launch/deployment/deploy-web-app/deploy-to-fly and i skip step 3.

The issue is that when I change the text (e.g., from “Hello World” to “My name is Rohan”), it updates correctly on the storefront. However, after some time, the text reverts to the previous value (e.g., back to “Hello World”). Why does this happen, and how can I fix it?

1 Like

Hi @anthony ,
Thanks for your reply

I have a doubt. I used the Shopify documentation
to host my app on Fly.io, but I skipped step 3. Can you tell me if I need
to create a database on Fly.io or if there are alternatives for it?

In local development, I used:

  1. Remix with JavaScript
  2. Prisma with SQLite