From b70a077fbf7b1b160bf37fb9b16c5ee8a3652c26 Mon Sep 17 00:00:00 2001 From: luis Date: Mon, 2 Jul 2018 16:28:52 +0000 Subject: [PATCH] =?UTF-8?q?Issue=20#11052:=20Incluir=20novos=20campos=20na?= =?UTF-8?q?=20venda=20com=20ordem=20de=20servi=C3=A7o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@83038 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180601_1704__mantis11052.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/db/migration/V20180601_1704__mantis11052.sql diff --git a/src/db/migration/V20180601_1704__mantis11052.sql b/src/db/migration/V20180601_1704__mantis11052.sql new file mode 100644 index 000000000..2729256aa --- /dev/null +++ b/src/db/migration/V20180601_1704__mantis11052.sql @@ -0,0 +1,9 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -01430); +begin + execute immediate 'ALTER TABLE SECRETARIA add RUT NUMBER(12)'; + execute immediate 'ALTER TABLE SECRETARIA add DIRSECRETARIA VARCHAR(60)'; + execute immediate 'ALTER TABLE SECRETARIA add CIUDAD VARCHAR(60)'; + exception when object_exists then null; +end; \ No newline at end of file