refactor: consolidate formations into trails
All checks were successful
CI / Validate frontend and API (push) Successful in 43s
CI / Build and publish Docker images (push) Successful in 17s

This commit is contained in:
Cauê Faleiros
2026-09-04 17:04:26 -03:00
parent 895b0dd00e
commit c18e63f0e4
7 changed files with 21 additions and 21 deletions

View File

@@ -0,0 +1,5 @@
-- Trilhas and Formações described the same object: an ordered collection of
-- existing courses. Preserve every record while collapsing the duplicate type.
update learning_paths set kind = 'trail' where kind = 'formation';
drop index if exists learning_paths_kind_index;
alter table learning_paths drop column kind;