Is there docs for how to migrate from core v5 to v...
# support-questions-legacy
d
Is there docs for how to migrate from core v5 to v6? I can't find anything. Currnetly getting this when just naively bumping the docker container locally
Copy code
postgres-supertokens-1                | 2023-09-04 11:01:24.635 UTC [87] ERROR:  relation "emailpassword_user_to_tenant" does not exist at character 15
postgres-supertokens-1                | 2023-09-04 11:01:24.635 UTC [87] STATEMENT:  SELECT 1 FROM emailpassword_user_to_tenant LIMIT 1
postgres-supertokens-1                | 2023-09-04 11:01:24.644 UTC [87] ERROR:  column "app_id" referenced in foreign key constraint does not exist
postgres-supertokens-1                | 2023-09-04 11:01:24.644 UTC [87] STATEMENT:  CREATE TABLE IF NOT EXISTS emailpassword_user_to_tenant (app_id VARCHAR(64) DEFAULT 'public',tenant_id VARCHAR(64) DEFAULT 'public',user_id CHAR(36) NOT NULL,email VARCHAR(256) NOT NULL,CONSTRAINT emailpassword_user_to_tenant_email_key UNIQUE (app_id, tenant_id, email),CONSTRAINT emailpassword_user_to_tenant_pkey PRIMARY KEY (app_id, tenant_id, user_id),CONSTRAINT emailpassword_user_to_tenant_user_id_fkey FOREIGN KEY (app_id, tenant_id, user_id) REFERENCES all_auth_recipe_users(app_id, tenant_id, user_id) ON DELETE CASCADE)
supertokens-1                         | Stopping SuperTokens...
supertokens-1                         | 04 Sep 2023 11:01:24:645 +0000 | INFO | pid: ba1cfdcf-7637-4919-98d1-b69dae990666 | [main] thread | io.supertokens.Main.stopApp(Main.java:414) | Tenant(, public, public) | Stopping SuperTokens...
supertokens-1                         | 
supertokens-1                         | Tenant(, public, public) | What caused the crash: io.supertokens.pluginInterface.exceptions.DbInitException: org.postgresql.util.PSQLException: ERROR: column "app_id" referenced in foreign key constraint does not exist
8 Views