File Coverage

blib/lib/App/Zapzi/Database/Schema.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package App::Zapzi::Database::Schema;
2             # ABSTRACT: database schema for zapzi
3              
4 8     8   36 use utf8;
  8         12  
  8         59  
5 8     8   247 use strict;
  8         15  
  8         254  
6 8     8   35 use warnings;
  8         13  
  8         407  
7              
8             our $VERSION = '0.017'; # VERSION
9              
10 8     8   40 use base 'DBIx::Class::Schema';
  8         12  
  8         2873  
11              
12             # Load Result classes under this schema
13             __PACKAGE__->load_classes(qw/Article ArticleText Config Folder/);
14              
15              
16             sub schema_version
17             {
18             return 2;
19             }
20              
21             1;
22              
23             __END__
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             App::Zapzi::Database::Schema - database schema for zapzi
32              
33             =head1 VERSION
34              
35             version 0.017
36              
37             =head1 METHODS
38              
39             =head2 schema_version
40              
41             The version of the database schema that the code expects
42              
43             =head1 AUTHOR
44              
45             Rupert Lane <rupert@rupert-lane.org>
46              
47             =head1 COPYRIGHT AND LICENSE
48              
49             This software is copyright (c) 2015 by Rupert Lane.
50              
51             This is free software; you can redistribute it and/or modify it under
52             the same terms as the Perl 5 programming language system itself.
53              
54             =cut