Commit
feat: Enhance migration management and queue job handling
Commit details
Commit notes
- Added functionality to create the drizzle migrations table if it doesn't exist in mark-migrations-applied.ts. - Introduced a new script command in package.json to mark migrations as applied. - Improved check-migrations.ts to read from a journal file and check for pending migrations, providing detailed output on applied and pending migrations. - Updated queue/index.ts to include a pendingJobTTL option, ensuring that pending job data has a defined time-to-live to prevent orphaned jobs.
- Files changed
- 4
- Lines added
- +134
- Lines removed
- −60