agregado los campos de distribucion (interna y externa)
This commit is contained in:
@@ -86,7 +86,8 @@ export const trainingSurveys = t.pgTable(
|
||||
productiveActivity: t.text('productive_activity').notNull(),
|
||||
financialRequirementDescription: t
|
||||
.text('financial_requirement_description')
|
||||
.notNull(),
|
||||
.notNull()
|
||||
.default(''),
|
||||
currentStatus: t.text('current_status').notNull().default('ACTIVA'),
|
||||
companyConstitutionYear: t.integer('company_constitution_year').notNull(),
|
||||
producerCount: t.integer('producer_count').notNull(),
|
||||
@@ -138,6 +139,15 @@ export const trainingSurveys = t.pgTable(
|
||||
productCountDaily: t.integer('product_count_daily').notNull().default(0),
|
||||
productCountWeekly: t.integer('product_count_weekly').notNull().default(0),
|
||||
productCountMonthly: t.integer('product_count_monthly').notNull().default(0),
|
||||
// nuevos campos adicionales
|
||||
prodDescriptionInternal: t.text('prod_description_internal').notNull().default(''),
|
||||
internalCount: t.integer('internal_count').notNull().default(0),
|
||||
externalCount: t.integer('external_count').notNull().default(0),
|
||||
prodDescriptionExternal: t.text('prod_description_external').notNull().default(''),
|
||||
country: t.text('country').notNull().default(''),
|
||||
city: t.text('city').notNull().default(''),
|
||||
menCount: t.integer('men_count').notNull().default(0),
|
||||
womenCount: t.integer('women_count').notNull().default(0),
|
||||
...timestamps,
|
||||
},
|
||||
(trainingSurveys) => ({
|
||||
|
||||
Reference in New Issue
Block a user