DB fixtures
This commit is contained in:
parent
143f713f2d
commit
dde5eed9e2
|
@ -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
|
|
@ -0,0 +1,6 @@
|
||||||
|
UPDATE
|
||||||
|
vn.client
|
||||||
|
SET
|
||||||
|
hasInvoiceElectronic = TRUE
|
||||||
|
WHERE
|
||||||
|
businessTypeFk = 'officialOrganism';
|
Loading…
Reference in New Issue