From 966b1bd4c4cb0c0d6d992fd24be2e8dd883e4898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Voron?= Date: Mon, 28 Dec 2020 08:58:06 +0100 Subject: [PATCH] Add 4.x.x migration doc --- docs/migration/3x_to_4x.md | 7 +++++++ mkdocs.yml | 1 + 2 files changed, 8 insertions(+) create mode 100644 docs/migration/3x_to_4x.md diff --git a/docs/migration/3x_to_4x.md b/docs/migration/3x_to_4x.md new file mode 100644 index 00000000..24e7e5ab --- /dev/null +++ b/docs/migration/3x_to_4x.md @@ -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. diff --git a/mkdocs.yml b/mkdocs.yml index 3876f1bc..956f95f7 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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