line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package AproJo::DB::Schema::Result::Usertime; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
4366
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
62
|
|
4
|
2
|
|
|
2
|
|
7
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
40
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
7
|
use base 'DBIx::Class::Core'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
567
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
__PACKAGE__->table('usertimes'); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
11
|
|
|
|
|
|
|
'usertimes_id', |
12
|
|
|
|
|
|
|
{data_type => 'integer', is_auto_increment => 1, is_nullable => 0}, |
13
|
|
|
|
|
|
|
'user_id', |
14
|
|
|
|
|
|
|
{data_type => 'integer', is_nullable => 0, is_foreign_key => 1}, |
15
|
|
|
|
|
|
|
'start', |
16
|
|
|
|
|
|
|
{ |
17
|
|
|
|
|
|
|
data_type => 'datetime', |
18
|
|
|
|
|
|
|
datetime_undef_if_invalid => 1, |
19
|
|
|
|
|
|
|
default_value => '1900-01-01 00:00:00', |
20
|
|
|
|
|
|
|
is_nullable => 0, |
21
|
|
|
|
|
|
|
}, |
22
|
|
|
|
|
|
|
'end', |
23
|
|
|
|
|
|
|
{ |
24
|
|
|
|
|
|
|
data_type => 'datetime', |
25
|
|
|
|
|
|
|
datetime_undef_if_invalid => 1, |
26
|
|
|
|
|
|
|
default_value => '1900-01-01 00:00:00', |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
}, |
29
|
|
|
|
|
|
|
'duration', |
30
|
|
|
|
|
|
|
{data_type => 'integer', default_value => 0, is_nullable => 0}, |
31
|
|
|
|
|
|
|
); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key('usertimes_id'); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |