SQL = sqlite3; SqlSchema sch(SQLD_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); } sch.SaveNormal();
Report message to a moderator