mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.reference cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4496 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
71740dc8d6
commit
d6d5ed2fb9
3 changed files with 10 additions and 12 deletions
|
|
@ -95,21 +95,15 @@ GUI_APP_MAIN
|
|||
SQL = sqlite3;
|
||||
|
||||
// Update the schema to match the schema described in "Model.sch"
|
||||
#ifdef _DEBUG
|
||||
#ifdef _DEBUG
|
||||
SqlSchema sch(SQLITE3);
|
||||
StdStatementExecutor se(sqlite3);
|
||||
All_Tables(sch);
|
||||
if(sch.ScriptChanged(SqlSchema::UPGRADE))
|
||||
Sqlite3PerformScript(sch.Upgrade(),se);
|
||||
if(sch.ScriptChanged(SqlSchema::ATTRIBUTES)) {
|
||||
Sqlite3PerformScript(sch.Attributes(),se);
|
||||
}
|
||||
if(sch.ScriptChanged(SqlSchema::CONFIG)) {
|
||||
Sqlite3PerformScript(sch.ConfigDrop(),se);
|
||||
Sqlite3PerformScript(sch.Config(),se);
|
||||
}
|
||||
SqlPerformScript(sch.Upgrade());
|
||||
if(sch.ScriptChanged(SqlSchema::ATTRIBUTES))
|
||||
SqlPerformScript(sch.Attributes());
|
||||
sch.SaveNormal();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
PersonsDlg().Run();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
description "Using Value to store any data";
|
||||
description "Using Value to store any data\377";
|
||||
|
||||
uses
|
||||
Core;
|
||||
|
|
|
|||
4
reference/Value/init
Normal file
4
reference/Value/init
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef _Value_icpp_init_stub
|
||||
#define _Value_icpp_init_stub
|
||||
#include "Core/init"
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue