From 91f5e2e6d2bb93ecadcf4649d40bc679e70aba84 Mon Sep 17 00:00:00 2001 From: alberto Date: Fri, 7 Dec 2018 19:55:33 +0000 Subject: [PATCH] =?UTF-8?q?[BPe]=20Tratamento=20de=20eventos=20em=20contin?= =?UTF-8?q?g=C3=AAncia=20bug#12843=20dev:trevezani=20qua:?= 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@87763 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/com/rjconsultores/ventaboletos/FlyWay.java | 4 ++++ src/db/migration/V20181207_1510__mantis12843.sql | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 src/db/migration/V20181207_1510__mantis12843.sql diff --git a/src/com/rjconsultores/ventaboletos/FlyWay.java b/src/com/rjconsultores/ventaboletos/FlyWay.java index c6a4506e2..3308d80f9 100644 --- a/src/com/rjconsultores/ventaboletos/FlyWay.java +++ b/src/com/rjconsultores/ventaboletos/FlyWay.java @@ -40,6 +40,10 @@ public class FlyWay { private String location = "db.migration"; + private FlyWay() { + + } + public static FlyWay getInstance() { return INSTANCE; } diff --git a/src/db/migration/V20181207_1510__mantis12843.sql b/src/db/migration/V20181207_1510__mantis12843.sql new file mode 100644 index 000000000..0cceb201d --- /dev/null +++ b/src/db/migration/V20181207_1510__mantis12843.sql @@ -0,0 +1,7 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE BPE ADD (DHREFERENCIA VARCHAR2(25 BYTE))'; + exception when column_exists then null; +end; \ No newline at end of file