line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
745
|
use utf8; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
11
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package AproJo::DB::Schema::Result::Contact; |
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
54
|
use strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
38
|
|
6
|
2
|
|
|
2
|
|
7
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
44
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
6
|
use base 'DBIx::Class::Core'; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
329
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__->table('contacts'); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
13
|
|
|
|
|
|
|
'contact_id', |
14
|
|
|
|
|
|
|
{data_type => 'integer', is_auto_increment => 1, is_nullable => 0}, |
15
|
|
|
|
|
|
|
'firstname', |
16
|
|
|
|
|
|
|
{data_type => 'varchar', default_value => '', is_nullable => 1, size => 50}, |
17
|
|
|
|
|
|
|
'lastname', |
18
|
|
|
|
|
|
|
{data_type => 'varchar', default_value => '', is_nullable => 0, size => 50}, |
19
|
|
|
|
|
|
|
'title', |
20
|
|
|
|
|
|
|
{data_type => 'varchar', default_value => '', is_nullable => 1, size => 50}, |
21
|
|
|
|
|
|
|
'gender', |
22
|
|
|
|
|
|
|
{ |
23
|
|
|
|
|
|
|
data_type => 'varchar', |
24
|
|
|
|
|
|
|
default_value => 'male', |
25
|
|
|
|
|
|
|
is_nullable => 0, |
26
|
|
|
|
|
|
|
size => 10 |
27
|
|
|
|
|
|
|
}, |
28
|
|
|
|
|
|
|
'politeness', |
29
|
|
|
|
|
|
|
{ |
30
|
|
|
|
|
|
|
data_type => 'varchar', |
31
|
|
|
|
|
|
|
default_value => 'Sie', |
32
|
|
|
|
|
|
|
is_nullable => 0, |
33
|
|
|
|
|
|
|
size => 10 |
34
|
|
|
|
|
|
|
}, |
35
|
|
|
|
|
|
|
'phone', |
36
|
|
|
|
|
|
|
{data_type => 'varchar', default_value => '', is_nullable => 1, size => 50}, |
37
|
|
|
|
|
|
|
'fax', |
38
|
|
|
|
|
|
|
{data_type => 'varchar', default_value => '', is_nullable => 1, size => 50}, |
39
|
|
|
|
|
|
|
'email', |
40
|
|
|
|
|
|
|
{data_type => 'varchar', default_value => '', is_nullable => 1, size => 100}, |
41
|
|
|
|
|
|
|
'url', |
42
|
|
|
|
|
|
|
{data_type => 'varchar', default_value => '', is_nullable => 1, size => 100}, |
43
|
|
|
|
|
|
|
); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key('contact_id'); |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |