private static function getMaxGoalId() { return Db::fetchOne("SELECT MAX(idgoal) FROM " . Common::prefixTable('goal')); }