DB fixtures

This commit is contained in:
Pau 2022-10-06 13:34:06 +02:00
parent 143f713f2d
commit dde5eed9e2
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,8 @@
ALTER TABLE
`vn`.`client`
ADD
COLUMN `hasInvoiceElectronic` TINYINT(1) NOT NULL DEFAULT 0 COMMENT 'Registro de facturas mediante FACe'
AFTER
`hasInvoiceSimplified`;
-- sería más correcto hasElectronicInvoice pero ya existe un campo hasInvoiceSimplified

View File

@ -0,0 +1,6 @@
UPDATE
vn.client
SET
hasInvoiceElectronic = TRUE
WHERE
businessTypeFk = 'officialOrganism';