From 28c370923e97fd73e87bf63e38f3df0746fa9f30 Mon Sep 17 00:00:00 2001 From: valdir Date: Fri, 11 May 2018 17:27:23 +0000 Subject: [PATCH] =?UTF-8?q?0010994:=20Permitir=20adicionar=20tarifa=20at?= =?UTF-8?q?=C3=A9=2010=20d=C3=ADgitos=20para=20vendas=20em=20Bolivar=20fix?= =?UTF-8?q?es=20bug#10994=20dev:leo=20qua:bruno?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Criado script no flyWay(V20180511_0924__mantis10994.sql) para alterar os campos PRECIO E PRECIOORIGINAL das tabelas TARIFA, TARIFA_OFICIAL e TARIFA_HIST, e alterado a precião dos campos das telas de alteração de preco e alteração de preço/tarifas oficiais. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@81790 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180511_0924__mantis10994.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/db/migration/V20180511_0924__mantis10994.sql diff --git a/src/db/migration/V20180511_0924__mantis10994.sql b/src/db/migration/V20180511_0924__mantis10994.sql new file mode 100644 index 000000000..d95dbdef6 --- /dev/null +++ b/src/db/migration/V20180511_0924__mantis10994.sql @@ -0,0 +1,9 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE TARIFA MODIFY (PRECIOORIGINAL NUMBER(10, 2))'; + execute immediate 'ALTER TABLE TARIFA_OFICIAL MODIFY (PRECIOORIGINAL NUMBER(10, 2), PRECIO NUMBER(10, 2))'; + execute immediate 'ALTER TABLE TARIFA_HIST MODIFY (PRECIOORIGINAL NUMBER(10, 2), PRECIO NUMBER(10, 2))'; + exception when column_exists then null; +end; \ No newline at end of file