fixes bug#AL-1521

dev:julio
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@114684 d1611594-4594-4d17-8e1d-87c2c4800839
master
walace 2022-10-11 14:41:31 +00:00
parent b826723ffd
commit f39fd38d41
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,9 @@
declare
object_exists exception;
pragma exception_init (object_exists , -02443);
begin
execute immediate
'ALTER TABLE EMPRESA_EMAIL_ECOMERCE DROP CONSTRAINT FK_OPERACAO_ECOMERCE_EMAIL';
exception when object_exists then null;
end;

View File

@ -0,0 +1,5 @@
DO $$
BEGIN
ALTER TABLE EMPRESA_EMAIL_ECOMERCE DROP CONSTRAINT FK_OPERACAO_ECOMERCE_EMAIL;
END
$$;