Show
Ignore:
Timestamp:
02/08/08 02:44:39 (2 years ago)
Author:
eevee
Message:

Database refactoring. Renamed columns and tables to be more consistent and more readable. (#58)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/lib/Vee/Controller/Root.pm

    r363 r406  
    4949    $storage->debug(1); 
    5050 
    51     if ($c->user) { $c->user->obj->lastactive(time); $c->user->obj->update; } 
     51    if ($c->user) { $c->user->obj->time_active(time); $c->user->obj->update; } 
    5252     
    5353    if ($c->flash and %{$c->flash}) { 
     
    9797        eval { 
    9898            $c->model('DBIC::ErrorLog')->create({ 
    99                 time   => time, 
    100                 userid => $c->user ? $c->user->obj->id : 0, 
    101                 ip     => Vee::Utils::inet_aton($c->req->address), 
    102                 path   => $c->req->path, 
    103                 method => $c->req->method, 
    104                 query  => Dumper($c->req->params), 
    105                 error  => join "\n", @{$c->error}, 
     99                time    => time, 
     100                user_id => $c->user ? $c->user->obj->id : 0, 
     101                ip      => Vee::Utils::inet_aton($c->req->address), 
     102                path    => $c->req->path, 
     103                method  => $c->req->method, 
     104                query   => Dumper($c->req->params), 
     105                error   => join "\n", @{$c->error}, 
    106106            }); 
    107107        };