I am in the process of upgrading our instance of S...
# share-your-work
u
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
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.
u
thanks @rp_st
2 Views