| 1 | use utf8; | ||
| 2 | package Schema::RackTables::0_20_4::Result::Location; | ||
| 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_20_4::Result::Location - VIEW | ||
| 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 | __PACKAGE__->table_class("DBIx::Class::ResultSource::View"); | ||
| 30 | |||
| 31 | =head1 TABLE: C<Location> | ||
| 32 | |||
| 33 | =cut | ||
| 34 | |||
| 35 | __PACKAGE__->table("Location"); | ||
| 36 | |||
| 37 | =head1 ACCESSORS | ||
| 38 | |||
| 39 | =head2 id | ||
| 40 | |||
| 41 | data_type: 'integer' | ||
| 42 | default_value: 0 | ||
| 43 | extra: {unsigned => 1} | ||
| 44 | is_nullable: 0 | ||
| 45 | |||
| 46 | =head2 name | ||
| 47 | |||
| 48 | data_type: 'char' | ||
| 49 | is_nullable: 1 | ||
| 50 | size: 255 | ||
| 51 | |||
| 52 | =head2 has_problems | ||
| 53 | |||
| 54 | data_type: 'enum' | ||
| 55 | default_value: 'no' | ||
| 56 | extra: {list => ["yes","no"]} | ||
| 57 | is_nullable: 0 | ||
| 58 | |||
| 59 | =head2 comment | ||
| 60 | |||
| 61 | data_type: 'text' | ||
| 62 | is_nullable: 1 | ||
| 63 | |||
| 64 | =head2 parent_id | ||
| 65 | |||
| 66 | data_type: 'integer' | ||
| 67 | default_value: 0 | ||
| 68 | extra: {unsigned => 1} | ||
| 69 | is_nullable: 1 | ||
| 70 | |||
| 71 | =head2 parent_name | ||
| 72 | |||
| 73 | data_type: 'char' | ||
| 74 | is_nullable: 1 | ||
| 75 | size: 255 | ||
| 76 | |||
| 77 | =cut | ||
| 78 | |||
| 79 | __PACKAGE__->add_columns( | ||
| 80 | "id", | ||
| 81 | { | ||
| 82 | data_type => "integer", | ||
| 83 | default_value => 0, | ||
| 84 | extra => { unsigned => 1 }, | ||
| 85 | is_nullable => 0, | ||
| 86 | }, | ||
| 87 | "name", | ||
| 88 | { data_type => "char", is_nullable => 1, size => 255 }, | ||
| 89 | "has_problems", | ||
| 90 | { | ||
| 91 | data_type => "enum", | ||
| 92 | default_value => "no", | ||
| 93 | extra => { list => ["yes", "no"] }, | ||
| 94 | is_nullable => 0, | ||
| 95 | }, | ||
| 96 | "comment", | ||
| 97 | { data_type => "text", is_nullable => 1 }, | ||
| 98 | "parent_id", | ||
| 99 | { | ||
| 100 | data_type => "integer", | ||
| 101 | default_value => 0, | ||
| 102 | extra => { unsigned => 1 }, | ||
| 103 | is_nullable => 1, | ||
| 104 | }, | ||
| 105 | "parent_name", | ||
| 106 | { data_type => "char", is_nullable => 1, size => 255 }, | ||
| 107 | ); | ||
| 108 | |||
| 109 | |||
| 110 | # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:30 | ||
| 111 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UlKxS+7U+Oybo8iOVvwKrw | ||
| 112 | |||
| 113 | |||
| 114 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 115 | 1; |