| 1 | use utf8; | ||
| 2 | package Schema::RackTables::0_14_9::Result::IPLoadBalancer; | ||
| 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_14_9::Result::IPLoadBalancer | ||
| 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<IPLoadBalancer> | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | __PACKAGE__->table("IPLoadBalancer"); | ||
| 35 | |||
| 36 | =head1 ACCESSORS | ||
| 37 | |||
| 38 | =head2 object_id | ||
| 39 | |||
| 40 | data_type: 'integer' | ||
| 41 | extra: {unsigned => 1} | ||
| 42 | is_nullable: 1 | ||
| 43 | |||
| 44 | =head2 rspool_id | ||
| 45 | |||
| 46 | data_type: 'integer' | ||
| 47 | extra: {unsigned => 1} | ||
| 48 | is_nullable: 1 | ||
| 49 | |||
| 50 | =head2 vs_id | ||
| 51 | |||
| 52 | data_type: 'integer' | ||
| 53 | extra: {unsigned => 1} | ||
| 54 | is_nullable: 1 | ||
| 55 | |||
| 56 | =head2 vsconfig | ||
| 57 | |||
| 58 | data_type: 'text' | ||
| 59 | is_nullable: 1 | ||
| 60 | |||
| 61 | =head2 rsconfig | ||
| 62 | |||
| 63 | data_type: 'text' | ||
| 64 | is_nullable: 1 | ||
| 65 | |||
| 66 | =cut | ||
| 67 | |||
| 68 | __PACKAGE__->add_columns( | ||
| 69 | "object_id", | ||
| 70 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 71 | "rspool_id", | ||
| 72 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 73 | "vs_id", | ||
| 74 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 75 | "vsconfig", | ||
| 76 | { data_type => "text", is_nullable => 1 }, | ||
| 77 | "rsconfig", | ||
| 78 | { data_type => "text", is_nullable => 1 }, | ||
| 79 | ); | ||
| 80 | |||
| 81 | =head1 UNIQUE CONSTRAINTS | ||
| 82 | |||
| 83 | =head2 C<LB-VS> | ||
| 84 | |||
| 85 | =over 4 | ||
| 86 | |||
| 87 | =item * L</object_id> | ||
| 88 | |||
| 89 | =item * L</vs_id> | ||
| 90 | |||
| 91 | =back | ||
| 92 | |||
| 93 | =cut | ||
| 94 | |||
| 95 | __PACKAGE__->add_unique_constraint("LB-VS", ["object_id", "vs_id"]); | ||
| 96 | |||
| 97 | |||
| 98 | # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:05:10 | ||
| 99 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nA/I/oo2jwodka3aOaRQoQ | ||
| 100 | |||
| 101 | |||
| 102 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 103 | 1; |