| 1 | use utf8; | ||
| 2 | package Schema::RackTables::0_20_4::Result::IPv6Address; | ||
| 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::IPv6Address | ||
| 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<IPv6Address> | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | __PACKAGE__->table("IPv6Address"); | ||
| 35 | |||
| 36 | =head1 ACCESSORS | ||
| 37 | |||
| 38 | =head2 ip | ||
| 39 | |||
| 40 | data_type: 'binary' | ||
| 41 | is_nullable: 0 | ||
| 42 | size: 16 | ||
| 43 | |||
| 44 | =head2 name | ||
| 45 | |||
| 46 | data_type: 'char' | ||
| 47 | default_value: (empty string) | ||
| 48 | is_nullable: 0 | ||
| 49 | size: 255 | ||
| 50 | |||
| 51 | =head2 comment | ||
| 52 | |||
| 53 | data_type: 'char' | ||
| 54 | default_value: (empty string) | ||
| 55 | is_nullable: 0 | ||
| 56 | size: 255 | ||
| 57 | |||
| 58 | =head2 reserved | ||
| 59 | |||
| 60 | data_type: 'enum' | ||
| 61 | extra: {list => ["yes","no"]} | ||
| 62 | is_nullable: 1 | ||
| 63 | |||
| 64 | =cut | ||
| 65 | |||
| 66 | __PACKAGE__->add_columns( | ||
| 67 | "ip", | ||
| 68 | { data_type => "binary", is_nullable => 0, size => 16 }, | ||
| 69 | "name", | ||
| 70 | { data_type => "char", default_value => "", is_nullable => 0, size => 255 }, | ||
| 71 | "comment", | ||
| 72 | { data_type => "char", default_value => "", is_nullable => 0, size => 255 }, | ||
| 73 | "reserved", | ||
| 74 | { | ||
| 75 | data_type => "enum", | ||
| 76 | extra => { list => ["yes", "no"] }, | ||
| 77 | is_nullable => 1, | ||
| 78 | }, | ||
| 79 | ); | ||
| 80 | |||
| 81 | =head1 PRIMARY KEY | ||
| 82 | |||
| 83 | =over 4 | ||
| 84 | |||
| 85 | =item * L</ip> | ||
| 86 | |||
| 87 | =back | ||
| 88 | |||
| 89 | =cut | ||
| 90 | |||
| 91 | __PACKAGE__->set_primary_key("ip"); | ||
| 92 | |||
| 93 | |||
| 94 | # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:30 | ||
| 95 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OvpKdw1RSflvvK4P2CEDTA | ||
| 96 | |||
| 97 | |||
| 98 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 99 | 1; |