Ghost/core/server/data/migrations/versions/4.22
Rishabh Garg 3b90b1f335
Moved launchComplete user setting as global editor setting (#13703)
refs https://github.com/TryGhost/Team/issues/807

The launch wizard completed flag was previously stored at per user level in accessibility column of user table, so an administrator still got the option to complete the launch wizard even if the owner had completed it previously, which is not expected pattern. This change moves the launch complete flag for Admin to common settings from per user level so a site only needs to complete the launch wizard once irrespective of which user completes it

- adds new `editor_is_launch_complete` setting to track if a site launch steps are completed in Admin
- adds new migration util to easily allow adding new setting 
- adds migration to introduce new `editor_is_launch_complete` setting
- adds migration to update launch complete flag for a site if any of the users have already completed the launch steps
2021-11-04 18:03:51 +05:30
..
01-add-is-launch-complete-setting.js Moved launchComplete user setting as global editor setting (#13703) 2021-11-04 18:03:51 +05:30
02-update-launch-complete-setting-from-user-data.js Moved launchComplete user setting as global editor setting (#13703) 2021-11-04 18:03:51 +05:30