diff --git a/src/db/migration/V20170920_1656_mantis9472.sql b/src/db/migration/V20170920_1656_mantis9472.sql new file mode 100644 index 000000000..aee10f10f --- /dev/null +++ b/src/db/migration/V20170920_1656_mantis9472.sql @@ -0,0 +1,15 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE CLIENTE_DESCUENTO ADD (INDVENDER1PORCORRIDA NUMBER(1) DEFAULT 0 NOT NULL )'; + exception when object_exists then null; +end; +/ +declare + object_exists exception; + pragma exception_init (object_exists , -00001); +begin + execute immediate 'UPDATE CLIENTE_DESCUENTO SET INDVENDER1PORCORRIDA = 0'; + exception when object_exists then null; +end; \ No newline at end of file