--UPDATE FROM 8.12.7.0 TO 8.12.8.0


 	
DROP TABLE VERSION_8_12_7_0;


/*  VERSION_8_12_8_0  */
CREATE TABLE VERSION_8_12_8_0 (
	 DUMMY	NUMBER	    NULL
)
;

ALTER TABLE ZTXC ADD ZTXC_EINVOICE_VATCODE VARCHAR2(10 byte);
COMMENT ON COLUMN ZTXC.ZTXC_EINVOICE_VATCODE is 'einvoice vatcode for italy Electronic Invoice';

alter table zinv modify ZINV_FISCALNUMBER varchar2(400);

ALTER TABLE W8HP ADD W8HP_PW_NUMBER_REQUIRED NUMBER(1) DEFAULT 1;
COMMENT ON COLUMN W8HP.W8HP_PW_NUMBER_REQUIRED IS '1:Atleast one number is mandatory in the password and 0: Optional';

ALTER TABLE W8HP ADD W8HP_PW_UPPERALPHABET_REQUIRED NUMBER(1) DEFAULT 1;
COMMENT ON COLUMN W8HP.W8HP_PW_UPPERALPHABET_REQUIRED IS '1:Atleast one upper alphabet is mandatory in the password and 0: Optional';

ALTER TABLE W8HP ADD W8HP_PW_LOWERALPHABET_REQUIRED NUMBER(1) DEFAULT 1;
COMMENT ON COLUMN W8HP.W8HP_PW_LOWERALPHABET_REQUIRED IS '1:Atleast one lower alphabet is mandatory in the password and 0: Optional';

ALTER TABLE W8HP ADD W8HP_PW_SPECIALCHAR_REQUIRED NUMBER(1) DEFAULT 1;
COMMENT ON COLUMN W8HP.W8HP_PW_SPECIALCHAR_REQUIRED IS '1:Atleast one special character is mandatory in the password and 0: Optional';

ALTER TABLE W8HP ADD W8HP_PW_MINIMUMLENGTH NUMBER(2) DEFAULT 8;
