« blib/lib/RackTables/Schema/Result/FileLink.pm
↑ Summary
blib/lib/RackTables/Schema/Result/IPv4Allocation.pm »
| 1 | package RackTables::Schema::Result::IPv4Address; | ||
| 2 | |||
| 3 | # Created by DBIx::Class::Schema::Loader | ||
| 4 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||
| 5 | |||
| 6 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use MooseX::NonMoose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 1 | extends 'DBIx::Class::Core'; | |
| 13 | |||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | RackTables::Schema::Result::IPv4Address | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | 1 | __PACKAGE__->table("IPv4Address"); | |
| 22 | |||
| 23 | =head1 ACCESSORS | ||
| 24 | |||
| 25 | =head2 ip | ||
| 26 | |||
| 27 | data_type: 'integer' | ||
| 28 | default_value: 0 | ||
| 29 | extra: {unsigned => 1} | ||
| 30 | is_nullable: 0 | ||
| 31 | |||
| 32 | =head2 name | ||
| 33 | |||
| 34 | data_type: 'char' | ||
| 35 | default_value: (empty string) | ||
| 36 | is_nullable: 0 | ||
| 37 | size: 255 | ||
| 38 | |||
| 39 | =head2 reserved | ||
| 40 | |||
| 41 | data_type: 'enum' | ||
| 42 | extra: {list => ["yes","no"]} | ||
| 43 | is_nullable: 1 | ||
| 44 | |||
| 45 | =cut | ||
| 46 | |||
| 47 | 1 | __PACKAGE__->add_columns( | |
| 48 | "ip", | ||
| 49 | { | ||
| 50 | data_type => "integer", | ||
| 51 | default_value => 0, | ||
| 52 | extra => { unsigned => 1 }, | ||
| 53 | is_nullable => 0, | ||
| 54 | }, | ||
| 55 | "name", | ||
| 56 | { data_type => "char", default_value => "", is_nullable => 0, size => 255 }, | ||
| 57 | "reserved", | ||
| 58 | { | ||
| 59 | data_type => "enum", | ||
| 60 | extra => { list => ["yes", "no"] }, | ||
| 61 | is_nullable => 1, | ||
| 62 | }, | ||
| 63 | ); | ||
| 64 | 1 | __PACKAGE__->set_primary_key("ip"); | |
| 65 | |||
| 66 | |||
| 67 | # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-10-26 11:34:02 | ||
| 68 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sMjoibJRLGBd0qAj8QJg5Q | ||
| 69 | |||
| 70 | |||
| 71 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 72 | 1 | __PACKAGE__->meta->make_immutable; | |
| 73 | 1 | 1; | |