[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 08/10: Task #0001904: Previsions et budgets r
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 08/10: Task #0001904: Previsions et budgets rewriting of forecast : missing SQL files |
Date: |
Sun, 28 Mar 2021 09:22:05 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 3db26be289555dd5127f0a86212d4fbf77633251
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Mar 25 17:48:10 2021 +0100
Task #0001904: Previsions et budgets
rewriting of forecast : missing SQL files
---
include/constant.php | 2 +-
sql/upgrade.sql => include/sql/patch/upgrade153.sql | 3 +++
sql/upgrade.sql | 2 --
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/constant.php b/include/constant.php
index 672e3de..0202670 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/sql/upgrade.sql b/include/sql/patch/upgrade153.sql
similarity index 54%
copy from sql/upgrade.sql
copy to include/sql/patch/upgrade153.sql
index fc4f704..03a2766 100644
--- a/sql/upgrade.sql
+++ b/include/sql/patch/upgrade153.sql
@@ -1,2 +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 fc4f704..e69de29 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;
- [Noalyss-commit] [noalyss] branch master updated (a02ebda -> b00558e), Dany De Bontridder, 2021/03/28
- [Noalyss-commit] [noalyss] 01/10: Manage_Table : add CSS Class, Dany De Bontridder, 2021/03/28
- [Noalyss-commit] [noalyss] 02/10: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss, Dany De Bontridder, 2021/03/28
- [Noalyss-commit] [noalyss] 03/10: Merge branch 'd8103', Dany De Bontridder, 2021/03/28
- [Noalyss-commit] [noalyss] 05/10: Task #0001878: quantité sur deux décimales, Dany De Bontridder, 2021/03/28
- [Noalyss-commit] [noalyss] 10/10: Task #0001904: Previsions et budgets Ajout montant initial and estimation cumulée pour avoir évolution passif/actif, Dany De Bontridder, 2021/03/28
- [Noalyss-commit] [noalyss] 08/10: Task #0001904: Previsions et budgets rewriting of forecast : missing SQL files,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 07/10: Improve ManageTable : input can return a value + cosmetic, Dany De Bontridder, 2021/03/28
- [Noalyss-commit] [noalyss] 06/10: Task #0001904: Previsions et budgets Réécriture prévision, Dany De Bontridder, 2021/03/28
- [Noalyss-commit] [noalyss] 09/10: Cosmetic, Dany De Bontridder, 2021/03/28
- [Noalyss-commit] [noalyss] 04/10: Task #1913 : cosmetic CSS, Dany De Bontridder, 2021/03/28