Tom Jordahl
11/11/2024, 4:29 PMMarvin
11/11/2024, 4:29 PMprefect server database upgrade
This command applies new schema changes to your database, making it compatible with Prefect 3.x. This uses Alembic under the hood to manage your migrations.
5. Confirm Migration: Check if the migration has been applied correctly by inspecting your database or logs.
6. Restart Services: After the database migration, restart your Prefect services to ensure all components are aligned with the new version.
For more detailed information, you can refer to these resources:
- Prefect 3.x Database Migration: here
- General self-hosting guidelines for Prefect 2.x: here
If you encounter any issues, be sure to check Prefect's GitHub issues page or Prefect's community forums for solutions and feedback from other users who have performed similar upgrades.
Don't worry, upgrading isn't usually as scary as it sounds, but always keep that backup just in case something unexpected occurs. It’s always good to have an escape plan!