Merge branch 'main' of https://git.fondemi.gob.ve/Fondemi/sistema_base
cambios en como se guardan los datos
This commit is contained in:
@@ -135,9 +135,13 @@ export const trainingSurveys = t.pgTable(
|
||||
familyBurden: t.integer('family_burden').notNull(),
|
||||
numberOfChildren: t.integer('number_of_children').notNull(),
|
||||
generalObservations: t.text('general_observations'),
|
||||
// Fotos
|
||||
photo1: t.text('photo1'),
|
||||
photo2: t.text('photo2'),
|
||||
photo3: t.text('photo3'),
|
||||
// informacion del usuario que creo y actualizo el registro
|
||||
createdBy: t.integer('created_by').references(() => users.id, { onDelete: 'cascade' }),
|
||||
updatedBy: t.integer('updated_by').references(() => users.id, { onDelete: 'cascade' }),
|
||||
...timestamps,
|
||||
},
|
||||
(trainingSurveys) => ({
|
||||
|
||||
Reference in New Issue
Block a user