Merge branch 'master' into test
gitea/salix/test This commit looks good
Details
gitea/salix/test This commit looks good
Details
This commit is contained in:
commit
a342bb598d
|
@ -8,7 +8,7 @@ module.exports = Self => {
|
||||||
{
|
{
|
||||||
arg: 'id',
|
arg: 'id',
|
||||||
type: 'Number',
|
type: 'Number',
|
||||||
description: 'The document id',
|
description: 'Document id',
|
||||||
http: {source: 'path'}
|
http: {source: 'path'}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
ALTER TABLE `vn2008`.`gestdoc`
|
||||||
|
ADD COLUMN `contentType` VARCHAR(100) NULL AFTER `file`;
|
||||||
|
|
||||||
|
CREATE
|
||||||
|
OR REPLACE ALGORITHM = UNDEFINED
|
||||||
|
DEFINER = `root`@`%`
|
||||||
|
SQL SECURITY DEFINER
|
||||||
|
VIEW `vn`.`dms` AS
|
||||||
|
SELECT
|
||||||
|
`g`.`id` AS `id`,
|
||||||
|
`g`.`gesttip_id` AS `dmsTypeFk`,
|
||||||
|
`g`.`file` AS `file`,
|
||||||
|
`g`.`contentType` AS `contentType`,
|
||||||
|
`g`.`trabajador_id` AS `workerFk`,
|
||||||
|
`g`.`warehouse_id` AS `warehouseFk`,
|
||||||
|
`g`.`emp_id` AS `companyFk`,
|
||||||
|
`g`.`orden` AS `hardCopyNumber`,
|
||||||
|
`g`.`original` AS `hasFile`,
|
||||||
|
`g`.`sref` AS `reference`,
|
||||||
|
`g`.`brief` AS `description`,
|
||||||
|
`g`.`odbc_date` AS `created`
|
||||||
|
FROM
|
||||||
|
`vn2008`.`gestdoc` `g`;
|
Loading…
Reference in New Issue