Skip to content

Request: Migration Script from SuperTokens Core v3.6 to v9.1 or latest version for PostgreSQL #1154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SOUFIANOZDI opened this issue May 21, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@SOUFIANOZDI
Copy link

🚀 Feature

Provide an official PostgreSQL schema migration script to upgrade from SuperTokens Core version 3.6 to version 9.1.

Currently, I am running supertokens/supertokens-postgresql:3.6 in a production setup and want to migrate to 9.1 or latest to align with the latest SDKs (in my case, supertokens-python@0.28.1). However, I couldn't find any official SQL script or documentation that describes the necessary schema changes to safely perform this upgrade.

An official SQL migration path between major versions like this is critical for production environments where authentication continuity is essential.

Implementation details

I expect a .sql file (e.g., 3.6_to_9.1_postgresql.sql) that includes the required ALTER TABLE, CREATE TABLE, or DROP COLUMN operations in the correct order to move the schema from v3.6 to v9.1.

If the migration includes breaking changes, please highlight any deprecated tables, new constraints, or changes in data layout that developers should be aware of. Optional support for custom table prefixes would also be appreciated.

Thanks in advance for your help!

@SOUFIANOZDI SOUFIANOZDI added the enhancement New feature or request label May 21, 2025
@tamassoltesz
Copy link
Contributor

Hi. We recommend the sql scripts in the CHANGELOGs, in that order. There shouldn't be any breaking change there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy