| 1 | use utf8; | ||
| 2 | package Schema::RackTables::0_17_8::Result::PortCompat; | ||
| 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_8::Result::PortCompat | ||
| 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<PortCompat> | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | __PACKAGE__->table("PortCompat"); | ||
| 35 | |||
| 36 | =head1 ACCESSORS | ||
| 37 | |||
| 38 | =head2 type1 | ||
| 39 | |||
| 40 | data_type: 'integer' | ||
| 41 | extra: {unsigned => 1} | ||
| 42 | is_nullable: 0 | ||
| 43 | |||
| 44 | =head2 type2 | ||
| 45 | |||
| 46 | data_type: 'integer' | ||
| 47 | extra: {unsigned => 1} | ||
| 48 | is_nullable: 0 | ||
| 49 | |||
| 50 | =cut | ||
| 51 | |||
| 52 | __PACKAGE__->add_columns( | ||
| 53 | "type1", | ||
| 54 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 55 | "type2", | ||
| 56 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 57 | ); | ||
| 58 | |||
| 59 | =head1 UNIQUE CONSTRAINTS | ||
| 60 | |||
| 61 | =head2 C<type1_2> | ||
| 62 | |||
| 63 | =over 4 | ||
| 64 | |||
| 65 | =item * L</type1> | ||
| 66 | |||
| 67 | =item * L</type2> | ||
| 68 | |||
| 69 | =back | ||
| 70 | |||
| 71 | =cut | ||
| 72 | |||
| 73 | __PACKAGE__->add_unique_constraint("type1_2", ["type1", "type2"]); | ||
| 74 | |||
| 75 | |||
| 76 | # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:03:53 | ||
| 77 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zSP3jK52vQ25mUn8pm+zBw | ||
| 78 | |||
| 79 | |||
| 80 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 81 | 1; |