line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
814
|
use utf8; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
13
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package AproJo::DB::Schema::Result::Preference; |
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
56
|
use strict; |
|
2
|
|
|
|
|
31
|
|
|
2
|
|
|
|
|
63
|
|
6
|
2
|
|
|
2
|
|
7
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
37
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
6
|
use base 'DBIx::Class::Core'; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
219
|
|
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; |