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