From e00d7756abb0944524ce30733e2d7fdab521160e Mon Sep 17 00:00:00 2001 From: Gleimar Botelho Baleeiro Date: Tue, 14 Nov 2023 17:19:17 -0300 Subject: [PATCH] =?UTF-8?q?Implementa=C3=A7=C3=A3o=20do=20fluxo=20de=20aut?= =?UTF-8?q?oriza=C3=A7=C3=A3o=20para=20novas=20empresas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/db/migration/V20231109_1110__AL-3470.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/db/migration/V20231109_1110__AL-3470.sql diff --git a/src/db/migration/V20231109_1110__AL-3470.sql b/src/db/migration/V20231109_1110__AL-3470.sql new file mode 100644 index 000000000..7aa3aaa98 --- /dev/null +++ b/src/db/migration/V20231109_1110__AL-3470.sql @@ -0,0 +1,13 @@ +declare + object_exists exception; + except_00957 exception; + + pragma exception_init (object_exists , -01430); + pragma exception_init (except_00957 , -00957); +begin + execute immediate 'ALTER TABLE EMPRESA ADD (LICENCA VARCHAR(500))'; + exception + when object_exists then null; + when except_00957 then null; +end; +/ \ No newline at end of file