tutorial/lib/MyApp/Schema/Result/User.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« tutorial/lib/MyApp/Schema.pm ↑ Summary tutorial/lib/MyApp/View/TT.pm »
1 #
2 # This file is part of CatalystX-ExtJS
3 #
4 # This software is Copyright (c) 2011 by Moritz Onken.
5 #
6 # This is free software, licensed under:
7 #
8 # The (three-clause) BSD License
9 #
10 package MyApp::Schema::Result::User;
11  
12 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 extends 'DBIx::Class::Core';
14  
15 1 __PACKAGE__->table('user');
16  
17 1 __PACKAGE__->add_columns(
18 id => { is_auto_increment => 1, data_type => 'integer' },
19 qw(email first last)
20 );
21  
22 1 __PACKAGE__->set_primary_key('id');
23  
24 1 1;
« tutorial/lib/MyApp/Schema.pm ↑ Summary tutorial/lib/MyApp/View/TT.pm »