1.10.2 • Published 4 years ago
sm-content v1.10.2
sm-content-service
degree -> grade (classe) subject -> subject (matière) degree_subject -> education (matière par classe) chapter_index_type -> level_type (programme, fiche de lecture) chapter_index -> level (chapter_index par degree_subject) chapters -> segment dans Kronos (1..n par chapter_index) Sheets -> sheets (1..n par chapter) Sheet_type -> sheet_type (programme, ficher lecture, personnage…) Resource -> resource (1..n par sheet) Resource_type -> fiche de cours, fiche de révisions,
migrations
Starting with rentree20, we introduce the concept of data migrations.
running migrations
We should be able to launch
npm run migrations:up
everytime we make a deployment, and the script should apply only migrations that have not been applied yet.
In case of failure, we should be able to run
npm run migrations:down
1.26.0-beta.0
4 years ago
1.10.2
4 years ago