line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
8
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
33
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
55
|
|
3
|
|
|
|
|
|
|
package DBIx::Class::DeploymentHandler::VersionStorage::WithSchema::VersionResult; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.004'; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use parent 'DBIx::Class::Core'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
__PACKAGE__->table('dbix_class_deploymenthandler_versions_withschemata'); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
12
|
|
|
|
|
|
|
id => { |
13
|
|
|
|
|
|
|
data_type => 'int', |
14
|
|
|
|
|
|
|
is_auto_increment => 1, |
15
|
|
|
|
|
|
|
}, |
16
|
|
|
|
|
|
|
schema => { |
17
|
|
|
|
|
|
|
data_type => 'text', |
18
|
|
|
|
|
|
|
}, |
19
|
|
|
|
|
|
|
version => { |
20
|
|
|
|
|
|
|
data_type => 'text', |
21
|
|
|
|
|
|
|
}, |
22
|
|
|
|
|
|
|
ddl => { |
23
|
|
|
|
|
|
|
data_type => 'text', |
24
|
|
|
|
|
|
|
is_nullable => 1, |
25
|
|
|
|
|
|
|
}, |
26
|
|
|
|
|
|
|
upgrade_sql => { |
27
|
|
|
|
|
|
|
data_type => 'text', |
28
|
|
|
|
|
|
|
is_nullable => 1, |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key('id'); |
33
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint(['schema', 'version']); |
34
|
|
|
|
|
|
|
__PACKAGE__->resultset_class('DBIx::Class::DeploymentHandler::VersionStorage::WithSchema::VersionResultSet'); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |