| 1 | use utf8; | ||
| 2 | package Schema::RackTables::0_17_3::Result::Config; | ||
| 3 | |||
| 4 | # Created by DBIx::Class::Schema::Loader | ||
| 5 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | Schema::RackTables::0_17_3::Result::Config | ||
| 10 | |||
| 11 | =cut | ||
| 12 | |||
| 13 | use strict; | ||
| 14 | use warnings; | ||
| 15 | |||
| 16 | use base 'DBIx::Class::Core'; | ||
| 17 | |||
| 18 | =head1 COMPONENTS LOADED | ||
| 19 | |||
| 20 | =over 4 | ||
| 21 | |||
| 22 | =item * L<DBIx::Class::InflateColumn::DateTime> | ||
| 23 | |||
| 24 | =back | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | __PACKAGE__->load_components("InflateColumn::DateTime"); | ||
| 29 | |||
| 30 | =head1 TABLE: C<Config> | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | __PACKAGE__->table("Config"); | ||
| 35 | |||
| 36 | =head1 ACCESSORS | ||
| 37 | |||
| 38 | =head2 varname | ||
| 39 | |||
| 40 | data_type: 'char' | ||
| 41 | is_nullable: 0 | ||
| 42 | size: 32 | ||
| 43 | |||
| 44 | =head2 varvalue | ||
| 45 | |||
| 46 | data_type: 'char' | ||
| 47 | is_nullable: 0 | ||
| 48 | size: 255 | ||
| 49 | |||
| 50 | =head2 vartype | ||
| 51 | |||
| 52 | data_type: 'enum' | ||
| 53 | default_value: 'string' | ||
| 54 | extra: {list => ["string","uint"]} | ||
| 55 | is_nullable: 0 | ||
| 56 | |||
| 57 | =head2 emptyok | ||
| 58 | |||
| 59 | data_type: 'enum' | ||
| 60 | default_value: 'no' | ||
| 61 | extra: {list => ["yes","no"]} | ||
| 62 | is_nullable: 0 | ||
| 63 | |||
| 64 | =head2 is_hidden | ||
| 65 | |||
| 66 | data_type: 'enum' | ||
| 67 | default_value: 'yes' | ||
| 68 | extra: {list => ["yes","no"]} | ||
| 69 | is_nullable: 0 | ||
| 70 | |||
| 71 | =head2 description | ||
| 72 | |||
| 73 | data_type: 'text' | ||
| 74 | is_nullable: 1 | ||
| 75 | |||
| 76 | =cut | ||
| 77 | |||
| 78 | __PACKAGE__->add_columns( | ||
| 79 | "varname", | ||
| 80 | { data_type => "char", is_nullable => 0, size => 32 }, | ||
| 81 | "varvalue", | ||
| 82 | { data_type => "char", is_nullable => 0, size => 255 }, | ||
| 83 | "vartype", | ||
| 84 | { | ||
| 85 | data_type => "enum", | ||
| 86 | default_value => "string", | ||
| 87 | extra => { list => ["string", "uint"] }, | ||
| 88 | is_nullable => 0, | ||
| 89 | }, | ||
| 90 | "emptyok", | ||
| 91 | { | ||
| 92 | data_type => "enum", | ||
| 93 | default_value => "no", | ||
| 94 | extra => { list => ["yes", "no"] }, | ||
| 95 | is_nullable => 0, | ||
| 96 | }, | ||
| 97 | "is_hidden", | ||
| 98 | { | ||
| 99 | data_type => "enum", | ||
| 100 | default_value => "yes", | ||
| 101 | extra => { list => ["yes", "no"] }, | ||
| 102 | is_nullable => 0, | ||
| 103 | }, | ||
| 104 | "description", | ||
| 105 | { data_type => "text", is_nullable => 1 }, | ||
| 106 | ); | ||
| 107 | |||
| 108 | =head1 PRIMARY KEY | ||
| 109 | |||
| 110 | =over 4 | ||
| 111 | |||
| 112 | =item * L</varname> | ||
| 113 | |||
| 114 | =back | ||
| 115 | |||
| 116 | =cut | ||
| 117 | |||
| 118 | __PACKAGE__->set_primary_key("varname"); | ||
| 119 | |||
| 120 | |||
| 121 | # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:04:14 | ||
| 122 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lm8ArVj4ORxJwkVTJbC4Gw | ||
| 123 | |||
| 124 | |||
| 125 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 126 | 1; |