I am in the process of upgrading our instance of SuperTokens Core v5.0 to v6.0.
In the CHANGELOG.md file for
supertokens-core
, I can see that there is a migration script provided to upgrade the postgres database for v5.0 to v6.0.
This script assumes that there is no prefix being used for table names. We are using a prefix. Is there an easy way to modify this script to use the prefix? I am reluctant to modify this script by hand because it is considerable in length and modyfing it by hand might be error prone.
FYI, we are using
supertokens_
as the prefix.
r
rp_st
09/12/2023, 4:29 PM
hey @umarfkhawaja there is no easy way that i know of. But you could search foe each of the table names, and just replace it with the prefixed name.
Then try it in a dev env and see if it works! Sorry, nothing easy here.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).