mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Add 4.x.x migration doc
This commit is contained in:
7
docs/migration/3x_to_4x.md
Normal file
7
docs/migration/3x_to_4x.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# 3.x.x ➡️ 4.x.x
|
||||
|
||||
## `expires_at` property in `OAuthAccount` is now optional
|
||||
|
||||
Before 4.x.x, the `expires_at` property in `OAuthAccount` model was mandatory. It was causing issues with some services that don't have such expiration property.
|
||||
|
||||
If you use **SQLAlchemy** or **Tortoise** databases adapters, you'll have to make a migration to update your database schema.
|
||||
@@ -55,3 +55,4 @@ nav:
|
||||
- migration/08_to_1x.md
|
||||
- migration/1x_to_2x.md
|
||||
- migration/2x_to_3x.md
|
||||
- migration/3x_to_4x.md
|
||||
|
||||
Reference in New Issue
Block a user