set_date => {
data_type => 'timestamp',
is_nullable => 0,
- default_value => 'NOW()',
},
session_id => {
data_type => 'varchar',
},
);
+sub new {
+ my $self = shift->next::method(@_);
+ $self->set_date(gmtime);
+ return $self;
+}
+
__PACKAGE__->set_primary_key('ID');
1;