No Access scopes and session table being updated after deploying app with fly.io

No Access scopes and session table being updated after deploying app with fly.io

Sam188
Shopify Partner
3 0 1

Hi, I have developed a shopify application using the cli using the remix template. Everything was working well before the deployment but now, the sessions table is not being updated and although I had updated the scopes in the .toml files, I cannot see any changes on the sessions table that I view using npx prisma studio command. Can someone please help me with this?

Replies 3 (3)

FarioConsulting
Excursionist
31 2 5

Hi Sam,
Could you try running "npm run dev" (to ensure database migrations are executed properly) and see if the problem still persists.

Sam188
Shopify Partner
3 0 1

I did and the problem still persists. Also I have already deployed my application through fly.io and before this deployment, everything was working as expected. When I run the application I already see one prisma migration and then no pending prisma migrations, so I think the migrations are being executed successfully

 

Kapil2022
Shopify Partner
11 0 3

Have you found any solution?

I'm in the development phase and facing the same issue and I'm using MongoDB as a database.
DB

Kapil2022_0-1718706776806.png

Shopify Partner App Configuration 

Kapil2022_1-1718706820622.png


TOML file

Kapil2022_2-1718706848693.png