Galileo/DB/Schema/Result/Page.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Galileo/DB/Schema/Result/Menu.pm ↑ Summary Galileo/DB/Schema/Result/User.pm »
1 package Galileo::DB::Schema::Result::Page;
2  
3 use DBIx::Class::Candy
4 3 ▶ -autotable => v1;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 primary_column page_id => {
7 data_type => 'INT',
8 is_auto_increment => 1,
9 };
10  
11 3 column author_id => {
12 data_type => 'INT'
13 };
14  
15 3 unique_column name => {
16 data_type => 'VARCHAR',
17 size => 255,
18 };
19
20 3 column title => {
21 data_type => 'TEXT',
22 };
23  
24 3 column html => {
25 data_type => 'TEXT',
26 };
27  
28 3 column md => {
29 data_type => 'TEXT',
30 };
31  
32 3 belongs_to author => 'Galileo::DB::Schema::Result::User', 'author_id';
33  
34 3 1;
35  
« Galileo/DB/Schema/Result/Menu.pm ↑ Summary Galileo/DB/Schema/Result/User.pm »