From bc6660eb12591094158c9ed90eb7b61092fd6585 Mon Sep 17 00:00:00 2001 From: Luis Angel Espina Hernandez Date: Tue, 22 Oct 2024 16:13:00 -0400 Subject: [PATCH] =?UTF-8?q?Se=20Agrego=20la=20excepci=C3=B3n=20em=20caso?= =?UTF-8?q?=20de=20que=20la=20tabla=20no=20exista?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/db/migration/V20241016_1101__AL-4928.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/db/migration/V20241016_1101__AL-4928.sql b/src/db/migration/V20241016_1101__AL-4928.sql index 5f845a66e..f24a083e3 100644 --- a/src/db/migration/V20241016_1101__AL-4928.sql +++ b/src/db/migration/V20241016_1101__AL-4928.sql @@ -1,12 +1,15 @@ declare object_exists exception; except_00957 exception; + table_exists exception; pragma exception_init (object_exists , -01430); pragma exception_init (except_00957 , -00957); + pragma exception_init(table_exists, -942); begin execute immediate 'ALTER TABLE CONFIG_PRODUCTO_PARADA RENAME COLUMN CONF_PRODUCTO_PARADA_ID TO CONFIGPRODUCTOPARADA_ID'; exception when object_exists then null; when except_00957 then null; + when table_exists then null; end; \ No newline at end of file