From 640b94a71ec5960361dad44d13adc3b330ba83ec Mon Sep 17 00:00:00 2001 From: wilian Date: Fri, 8 May 2020 13:10:23 +0000 Subject: [PATCH] bug#18913 dev:wilian qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@101510 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20200508_0959__mantis18913.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/db/migration/V20200508_0959__mantis18913.sql diff --git a/src/db/migration/V20200508_0959__mantis18913.sql b/src/db/migration/V20200508_0959__mantis18913.sql new file mode 100644 index 000000000..fb7ce190b --- /dev/null +++ b/src/db/migration/V20200508_0959__mantis18913.sql @@ -0,0 +1,7 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate 'update empresa set cst_gratuidade = ''CST40'' where cst_gratuidade is null'; + exception when object_exists then null; +end; \ No newline at end of file