GCTC-NTGC / gc-digital-talent

GC Digital Talent is the new recruitment platform for digital and tech jobs in the Government of Canada. // Talents numériques du GC est la nouvelle plateforme de recrutement pour les emplois numériques et technologiques au gouvernement du Canada.
https://talent.canada.ca
GNU Affero General Public License v3.0
22 stars 9 forks source link

♻️ Clean up pool streams data #12142

Open esizer opened 6 days ago

esizer commented 6 days ago

♻️ Debt/Refactor

After migrating pool streams to the new work stream model, we will need to clean up after ourselves and remove old data.

[!CAUTION] Do not merge this before #7574 has been fully deployed in prod and migration scripts have been run.

🙋‍♀️ Proposed Solution

Create migration that removes stream column from pools and job_poster_templates table and sets work_stream_id to non-nullable in job_poster_templates table.

Delete PoolStream enum code. If anything is left that references it, like keys in the WorkStream seeder, replace with hard coded strings.

✅ Acceptance Criteria

🛑 Blockers

### Blocked By
- [ ] https://github.com/GCTC-NTGC/gc-digital-talent/issues/7574
github-actions[bot] commented 6 days ago

Status: Error :warning:

Issues blocking this PR: