line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1100
|
use utf8; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
14
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package AproJo::DB::Schema::Result::Preference; |
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
80
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
46
|
|
6
|
2
|
|
|
2
|
|
6
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
42
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
6
|
use base 'DBIx::Class::Core'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
307
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__->table('preferences'); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
13
|
|
|
|
|
|
|
'user_id', |
14
|
|
|
|
|
|
|
{data_type => 'integer', is_nullable => 0,is_foreign_key => 1}, |
15
|
|
|
|
|
|
|
'name', |
16
|
|
|
|
|
|
|
{data_type => 'varchar', default_value => '', is_nullable => 0, size => 255}, |
17
|
|
|
|
|
|
|
'value', |
18
|
|
|
|
|
|
|
{data_type => 'varchar', default_value => '', is_nullable => 0, size => 255}, |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key('user_id', 'name'); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |