diff --git a/src/db/migration/V20180824_1021__mantis11741.sql b/src/db/migration/V20180824_1021__mantis11741.sql new file mode 100644 index 000000000..1a28e03dc --- /dev/null +++ b/src/db/migration/V20180824_1021__mantis11741.sql @@ -0,0 +1,8 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE ESQUEMA_TRAMO ADD (TIPO_PASSAGEM VARCHAR2(1))'; + exception when column_exists then null; +end; +/ \ No newline at end of file diff --git a/src/db/postgresql/migration/V20180824_1021__mantis11741.sql b/src/db/postgresql/migration/V20180824_1021__mantis11741.sql new file mode 100644 index 000000000..1a28e03dc --- /dev/null +++ b/src/db/postgresql/migration/V20180824_1021__mantis11741.sql @@ -0,0 +1,8 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE ESQUEMA_TRAMO ADD (TIPO_PASSAGEM VARCHAR2(1))'; + exception when column_exists then null; +end; +/ \ No newline at end of file