diff --git a/src/db/migration/V20200227_1821__mantis18444.sql b/src/db/migration/V20200227_1821__mantis18444.sql new file mode 100644 index 000000000..6e2c9d1a8 --- /dev/null +++ b/src/db/migration/V20200227_1821__mantis18444.sql @@ -0,0 +1,8 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'update custom set sistema = ''2'' where chave = ''clienteProducto'' and tipo = ''4'''; + execute immediate 'update custom set sistema = ''1'' where chave = ''clienteProducto'' and tipo = ''1'''; + exception when object_exists then null; +end; \ No newline at end of file