Index: trunk/kernel/units/visits/visits_config.php =================================================================== diff -u -N -r7391 -r7867 --- trunk/kernel/units/visits/visits_config.php (.../visits_config.php) (revision 7391) +++ trunk/kernel/units/visits/visits_config.php (.../visits_config.php) (revision 7867) @@ -92,7 +92,7 @@ ), 'Fields' => Array( - 'VisitId' => Array('type' => 'int'), + 'VisitId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), 'VisitDate' => Array('type' => 'int', 'formatter'=>'kDateFormatter', 'custom_filter' => 'date_range', 'not_null' => '1','default' => '0'), 'Referer' => Array('type' => 'string','not_null' => '1','default' => ''), 'IPAddress' => Array('type' => 'string','not_null' => '1','default' => ''),