anexado guardar en minio y cambios generales en la interfaz de osp
This commit is contained in:
@@ -77,8 +77,8 @@ export const trainingSurveys = t.pgTable(
|
||||
.notNull()
|
||||
.default(''),
|
||||
productiveActivity: t.text('productive_activity').notNull(),
|
||||
ospRif: t.text('osp_rif').notNull(),
|
||||
ospName: t.text('osp_name').notNull(),
|
||||
ospRif: t.text('osp_rif'),
|
||||
ospName: t.text('osp_name'),
|
||||
companyConstitutionYear: t.integer('company_constitution_year').notNull(),
|
||||
currentStatus: t.text('current_status').notNull().default('ACTIVA'),
|
||||
infrastructureMt2: t.text('infrastructure_mt2').notNull().default(''),
|
||||
@@ -98,10 +98,8 @@ export const trainingSurveys = t.pgTable(
|
||||
.text('commune_spokesperson_name')
|
||||
.notNull()
|
||||
.default(''),
|
||||
communeSpokespersonCedula: t
|
||||
.text('commune_spokesperson_cedula'),
|
||||
communeSpokespersonRif: t
|
||||
.text('commune_spokesperson_rif'),
|
||||
communeSpokespersonCedula: t.text('commune_spokesperson_cedula'),
|
||||
communeSpokespersonRif: t.text('commune_spokesperson_rif'),
|
||||
communeSpokespersonPhone: t
|
||||
.text('commune_spokesperson_phone')
|
||||
.notNull()
|
||||
@@ -114,10 +112,10 @@ export const trainingSurveys = t.pgTable(
|
||||
.text('communal_council_spokesperson_name')
|
||||
.notNull()
|
||||
.default(''),
|
||||
communalCouncilSpokespersonCedula: t
|
||||
.text('communal_council_spokesperson_cedula'),
|
||||
communalCouncilSpokespersonRif: t
|
||||
.text('communal_council_spokesperson_rif'),
|
||||
communalCouncilSpokespersonCedula: t.text(
|
||||
'communal_council_spokesperson_cedula',
|
||||
),
|
||||
communalCouncilSpokespersonRif: t.text('communal_council_spokesperson_rif'),
|
||||
communalCouncilSpokespersonPhone: t
|
||||
.text('communal_council_spokesperson_phone')
|
||||
.notNull()
|
||||
@@ -128,20 +126,24 @@ export const trainingSurveys = t.pgTable(
|
||||
.default(''),
|
||||
ospResponsibleFullname: t.text('osp_responsible_fullname').notNull(),
|
||||
ospResponsibleCedula: t.text('osp_responsible_cedula').notNull(),
|
||||
ospResponsibleRif: t.text('osp_responsible_rif').notNull(),
|
||||
civilState: t.text('civil_state').notNull(),
|
||||
ospResponsibleRif: t.text('osp_responsible_rif'),
|
||||
civilState: t.text('civil_state'),
|
||||
ospResponsiblePhone: t.text('osp_responsible_phone').notNull(),
|
||||
ospResponsibleEmail: t.text('osp_responsible_email').notNull(),
|
||||
familyBurden: t.integer('family_burden').notNull(),
|
||||
numberOfChildren: t.integer('number_of_children').notNull(),
|
||||
ospResponsibleEmail: t.text('osp_responsible_email'),
|
||||
familyBurden: t.integer('family_burden'),
|
||||
numberOfChildren: t.integer('number_of_children'),
|
||||
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' }),
|
||||
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