Update database schema

Update translations
Don't multiple account_amount at startup
Use INERT or REPLACE in queries
This commit is contained in:
2012-04-28 12:25:17 +02:00
parent 20245fec2e
commit 12cc163459
9 changed files with 177 additions and 188 deletions

View File

@@ -75,7 +75,7 @@ public:
double MetaAmount(int id);
double MetaPositiveAmount(int id);
double GetAccountAmount(int id, int month, int year);
double GetAccountAmount(int id, int month, int year, bool* had_values=NULL);
void SetAccountAmount(int accountId, int month, int year, double value);
double CalcAccountAmount(int id, int month, int year, bool* had_values);