File Coverage

blib/lib/Perl5/CoreSmokeDB/Schema/Result/TsgatewayConfig.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 3     3   9577 use utf8;
  3         6  
  3         18  
2              
3             # Created by DBIx::Class::Schema::Loader
4             # DO NOT MODIFY THE FIRST PART OF THIS FILE
5              
6             =head1 NAME
7              
8             Perl5::CoreSmokeDB::Schema::Result::TsgatewayConfig
9              
10             =cut
11              
12             use strict;
13 3     3   113 use warnings;
  3         5  
  3         55  
14 3     3   13  
  3         5  
  3         70  
15             use base 'DBIx::Class::Core';
16 3     3   37  
  3         5  
  3         1552  
17             =head1 COMPONENTS LOADED
18              
19             =over 4
20              
21             =item * L<DBIx::Class::InflateColumn::DateTime>
22              
23             =back
24              
25             =cut
26              
27             __PACKAGE__->load_components("InflateColumn::DateTime");
28              
29             =head1 TABLE: C<tsgateway_config>
30              
31             =cut
32              
33             __PACKAGE__->table("tsgateway_config");
34              
35             =head1 ACCESSORS
36              
37             =head2 id
38              
39             data_type: 'integer'
40             is_auto_increment: 1
41             is_nullable: 0
42             sequence: 'tsgateway_config_id_seq'
43              
44             =head2 name
45              
46             data_type: 'text'
47             is_nullable: 0
48             original: {data_type => "varchar"}
49              
50             =head2 value
51              
52             data_type: 'text'
53             is_nullable: 1
54             original: {data_type => "varchar"}
55              
56             =cut
57              
58             __PACKAGE__->add_columns(
59             "id",
60             {
61             data_type => "integer",
62             is_auto_increment => 1,
63             is_nullable => 0,
64             sequence => "tsgateway_config_id_seq",
65             },
66             "name",
67             {
68             data_type => "text",
69             is_nullable => 0,
70             original => { data_type => "varchar" },
71             },
72             "value",
73             {
74             data_type => "text",
75             is_nullable => 1,
76             original => { data_type => "varchar" },
77             },
78             );
79              
80             =head1 PRIMARY KEY
81              
82             =over 4
83              
84             =item * L</id>
85              
86             =back
87              
88             =cut
89              
90             __PACKAGE__->set_primary_key("id");
91              
92             =head1 UNIQUE CONSTRAINTS
93              
94             =head2 C<tsgateway_config_name_key>
95              
96             =over 4
97              
98             =item * L</name>
99              
100             =back
101              
102             =cut
103              
104             __PACKAGE__->add_unique_constraint("tsgateway_config_name_key", ["name"]);
105              
106              
107             # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-06 09:15:22
108             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OHrzHJomHrUylc1ROdEW4Q
109              
110              
111             # You can replace this text with custom code or comments, and it will be preserved on regeneration
112             1;