Skip to content

Commit

Permalink
Add keys to dimensions in migration for better identification
Browse files Browse the repository at this point in the history
  • Loading branch information
guillecro committed Dec 19, 2024
1 parent 976bde1 commit 13e8153
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions migrations/00008-create-dimensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ module.exports = {
}
});
await queryInterface.bulkInsert('Dimensions', [
{ name: 'Educación de calidad', },
{ name: 'Empleo digno', },
{ name: 'Espacios públicos seguros', },
{ name: 'Salud Integral', },
{ name: 'Participación política juvenil', },
{ name: 'Transporte público digno', },
{ name: 'Ambiente sano', },
{ name: 'Ocio y cultura', }
{ key: 'educacion-calidad', name: 'Educación de calidad', },
{ key: 'empleo-digno', name: 'Empleo digno', },
{ key: 'espacios-publicos-seguros', name: 'Espacios públicos seguros', },
{ key: 'salud-integral', name: 'Salud Integral', },
{ key: 'participacion-politica-juvenil', name: 'Participación política juvenil', },
{ key: 'transporte-publico-digno', name: 'Transporte público digno', },
{ key: 'ambiente-sano', name: 'Ambiente sano', },
{ key: 'ocio-cultura', name: 'Ocio y cultura', }
]);
},
async down({context: queryInterface}) {
Expand Down

0 comments on commit 13e8153

Please sign in to comment.