registro del ticket y guradado de ruta

This commit is contained in:
Andres2908
2022-02-02 23:32:41 -06:00
parent 7c987c4327
commit 0ff4360ca7
4 changed files with 6 additions and 1 deletions
@@ -32,7 +32,7 @@ const inscripcion = async (body, file) => {
idArea,
fechaInscripcion: ahora.format(),
fechaTicket: body.fechaTicket,
idFechaInscripcion: body.idFechaInscripcion,
rutaTicket: file.path,
});
});
})
+5
View File
@@ -44,6 +44,11 @@ Inscripcion.init(
allowNull: true,
defaultValue: null,
},
rutaTicket: {
type: DataTypes.STRING(100),
allowNull: true,
defaultValue: null,
},
},
{
sequelize,
Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Before

Width:  |  Height:  |  Size: 998 KiB

After

Width:  |  Height:  |  Size: 998 KiB