diff --git a/include/constant.php b/include/constant.php index 672e3de17..0202670a6 100644 --- a/include/constant.php +++ b/include/constant.php @@ -110,7 +110,7 @@ if ( !defined ("NOALYSS_PACKAGE_REPOSITORY")) { if ( ! defined ("SYSINFO_DISPLAY")) { define ("SYSINFO_DISPLAY",TRUE); } -define ("DBVERSION",153); +define ("DBVERSION",154); define ("MONO_DATABASE",25); define ("DBVERSIONREPO",19); define ('NOTFOUND','--not found--'); diff --git a/include/sql/patch/upgrade153.sql b/include/sql/patch/upgrade153.sql new file mode 100644 index 000000000..03a276697 --- /dev/null +++ b/include/sql/patch/upgrade153.sql @@ -0,0 +1,5 @@ +begin ; +alter table forecast_cat rename to forecast_category; +alter table forecast_category alter f_id set not null; +insert into version (val,v_description) values (154,'Rewriting of FORECAST'); +commit; \ No newline at end of file diff --git a/sql/upgrade.sql b/sql/upgrade.sql index fc4f7043c..e69de29bb 100644 --- a/sql/upgrade.sql +++ b/sql/upgrade.sql @@ -1,2 +0,0 @@ -alter table forecast_cat rename to forecast_category; -alter table forecast_category alter f_id set not null;