MPT-18131: add version field to store the version when the migration was a…#47
MPT-18131: add version field to store the version when the migration was a…#47
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThe PR adds a SERVICE_VERSION environment variable to persist version metadata per migration. This involves introducing a Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
|



…pplied
Closes MPT-18131
SERVICE_VERSIONenvironment variable to persist the service version at the time each migration is appliedMigrationmodel withversion(str | None) andstarted_at(dt.datetime | None) fieldsMigrationListItemmodel withapplied_at,migration_type,started_at, andversionfieldsget_service_version()function tompt_tool/config.pyto retrieve the SERVICE_VERSION environment variableMigrationRendertable display