From 94d70f3e612b93717710c8eaf9defe34b4a9d8df Mon Sep 17 00:00:00 2001 From: Jim LAURIE Date: Tue, 11 Aug 2020 11:05:51 +0200 Subject: [PATCH] Update migration guide username not null Signed-off-by: Jim LAURIE --- .../migration-guide/migration-guide-3.0.x-to-3.1.x.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/v3.x/migration-guide/migration-guide-3.0.x-to-3.1.x.md b/docs/v3.x/migration-guide/migration-guide-3.0.x-to-3.1.x.md index 9b431e4193..bd484430e0 100644 --- a/docs/v3.x/migration-guide/migration-guide-3.0.x-to-3.1.x.md +++ b/docs/v3.x/migration-guide/migration-guide-3.0.x-to-3.1.x.md @@ -98,7 +98,13 @@ You're done! All currently logged in administrators will be disconnected from the app and will need to log in again. ::: -## 3. Migrate your custom admin panel plugins +## 3. Update `username` constraint for administrators + +The `username` field is no longer required for administrator users. + +You will have to remove the `NOT NULL` constraint for this column in your database. + +## 4. Migrate your custom admin panel plugins If you don't have custom plugins, you can jump to the next section. @@ -133,7 +139,7 @@ export default strapi => { }; ``` -## 4. Rebuild the admin panel +## 5. Rebuild the admin panel Rebuild the admin panel with one of the following commands: