v0.5.0: Database migration guide #315
pilcrowonpaper
started this conversation in
General
Replies: 1 comment 3 replies
-
@pilcrowonpaper just noticed a small typo. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
key
table where:user.provider_id
,user.hashed_password
session.expires
tosession.active_expires
MongoDB
(Thanks to @SkepticMystic for helping out here)
Create new
key
collection fromuser
:Remove index from
users.provider_id
:Remove fields in
user
:Rename field in
session
:MySQL
Create new
key
table:Transfer data from
user
tokey
:Remove columns in
user
:Rename columns in
session
:PostgreSQL
Create new
key
table:Transfer data from
user
tokey
:Remove columns in
user
:Rename columns in
session
:SQLite
Create new
key
table:Transfer data from
user
tokey
:Create new user table (temporary):
Transfer data to temporary user table:
Delete old
user
:Rename temporary table to
user
:Rename columns in
session
:Supabase
Use
psql
to connect to your Supabase database and run raw sql queries (refer to the PostgreSQL section).Beta Was this translation helpful? Give feedback.
All reactions