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