supertokens / supertokens-core

Open source alternative to Auth0 / Firebase Auth / AWS Cognito
https://supertokens.com
Other
13.18k stars 523 forks source link

Migration missing for 9.1/9.2 Core ? #1031

Closed svonfelten closed 2 months ago

svonfelten commented 2 months ago

🐛 Bug Report

Hello, I made a update of my dependencies last week and decided to update my Supertoken-core and backend library version. I am using supertoken core 9.2 currently (from 7.0) . When starting the core with a database that contains data from version 7 i have this error on startup :

SupertokenCrash

I am launching mysql and the supertoken core in docker env. it is working when i delete the database but i obviously can't do this in production. I think there is a migration script missing maybe ? I only found one script to version 7 not to version 9.

I am missing something or not ?

rishabhpoddar commented 2 months ago

Hi,

We do have a migration guide in the core changelog: https://github.com/supertokens/supertokens-core/blob/master/CHANGELOG.md

svonfelten commented 2 months ago

Oh yeah i didn't see this section in the changelog, thank you