diff --git a/src/db/migration/V20161024_1430__mantis8120.sql b/src/db/migration/V20161024_1430__mantis8120.sql index b95f00f8d..fb14d4842 100644 --- a/src/db/migration/V20161024_1430__mantis8120.sql +++ b/src/db/migration/V20161024_1430__mantis8120.sql @@ -1,19 +1,2 @@ alter table fiscal_ml2 add (indvendamanual number(1)); - -update fiscal_ml2 set indvendamanual = 0; - -update fiscal_ml2 set indvendamanual = 1 where fiscalml2_id in ( - select ml2.fiscalml2_id - from fiscal_ml2 ml2 - join boleto b on b.boleto_id = ml2.boleto_id - where b.tipoventa_id = 3); - alter table fiscal_r4 add (indvendamanual number(1)); - -update fiscal_r4 set indvendamanual = 0; - -update fiscal_r4 set indvendamanual = 1 where fiscalr4_id in ( - select r4.fiscalr4_id - from fiscal_r4 r4 - join boleto b on b.boleto_id = r4.boleto_id - where b.tipoventa_id = 3); \ No newline at end of file