WithSchema/VersionResult.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« WithSchema/VersionResultSet.pm ↑ Summary
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package DBIx::Class::DeploymentHandler::VersionStorage::WithSchema::VersionResult;
4  
5 1 our $VERSION = '0.002';
6  
7 1 ▶use parent 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 __PACKAGE__->table('dbix_class_deploymenthandler_versions_withschemata');
10  
11 1 __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 1 __PACKAGE__->set_primary_key('id');
33 1 __PACKAGE__->add_unique_constraint(['schema', 'version']);
34 1 __PACKAGE__->resultset_class('DBIx::Class::DeploymentHandler::VersionStorage::WithSchema::VersionResultSet');
35  
36 1 1;
« WithSchema/VersionResultSet.pm ↑ Summary