diff --git a/src/db/migration/V20190430_0940__mantis14161.sql b/src/db/migration/V20190430_0940__mantis14161.sql new file mode 100644 index 000000000..4b481961d --- /dev/null +++ b/src/db/migration/V20190430_0940__mantis14161.sql @@ -0,0 +1,6 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'alter table fechamento_deposito modify (numdeposito varchar2(22))'; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20190430_0940__mantis14161.sql b/src/db/postgresql/migration/V20190430_0940__mantis14161.sql new file mode 100644 index 000000000..9ada08ece --- /dev/null +++ b/src/db/postgresql/migration/V20190430_0940__mantis14161.sql @@ -0,0 +1 @@ +alter table fechamento_deposito alter column numdeposito type varchar(22); \ No newline at end of file