diff --git a/src/db/migration/V20171130_1124__mantis10253.sql b/src/db/migration/V20171130_1124__mantis10253.sql new file mode 100644 index 000000000..c09b6e7d4 --- /dev/null +++ b/src/db/migration/V20171130_1124__mantis10253.sql @@ -0,0 +1,9 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE PARADA ADD INDVENDETOTEM NUMBER (1,0)'; + exception when column_exists then null; +end; +/ +UPDATE PARADA SET INDVENDETOTEM = 1; \ No newline at end of file