diff --git a/src/db/migration/V20181029_1100__mantis12479.sql b/src/db/migration/V20181029_1100__mantis12479.sql index ee37f1eb0..a7e2136a9 100644 --- a/src/db/migration/V20181029_1100__mantis12479.sql +++ b/src/db/migration/V20181029_1100__mantis12479.sql @@ -2,6 +2,6 @@ declare column_exists exception; pragma exception_init (column_exists , -01430); begin - execute immediate 'ALTER TABLE EMPRESA ADD INDIMPEMBARQDESEMBARQCUPOM NUMBER(1,0) DEFAULT 0 NOT NULL ENABLE'; + execute immediate 'ALTER TABLE EMPRESA ADD INDIMPEMBARQDESEMBARQCUPOM NUMBER(1,0) DEFAULT 1 NOT NULL ENABLE'; exception when column_exists then null; end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20181029_1100__mantis12479.sql b/src/db/postgresql/migration/V20181029_1100__mantis12479.sql index ee37f1eb0..a7e2136a9 100644 --- a/src/db/postgresql/migration/V20181029_1100__mantis12479.sql +++ b/src/db/postgresql/migration/V20181029_1100__mantis12479.sql @@ -2,6 +2,6 @@ declare column_exists exception; pragma exception_init (column_exists , -01430); begin - execute immediate 'ALTER TABLE EMPRESA ADD INDIMPEMBARQDESEMBARQCUPOM NUMBER(1,0) DEFAULT 0 NOT NULL ENABLE'; + execute immediate 'ALTER TABLE EMPRESA ADD INDIMPEMBARQDESEMBARQCUPOM NUMBER(1,0) DEFAULT 1 NOT NULL ENABLE'; exception when column_exists then null; end; \ No newline at end of file