« blib/lib/RackTables/Schema/Result/Rack.pm
↑ Summary
blib/lib/RackTables/Schema/Result/RackObject.pm »
| 1 | package RackTables::Schema::Result::RackHistory; | ||
| 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::RackHistory | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | 1 | __PACKAGE__->table("RackHistory"); | |
| 22 | |||
| 23 | =head1 ACCESSORS | ||
| 24 | |||
| 25 | =head2 id | ||
| 26 | |||
| 27 | data_type: 'integer' | ||
| 28 | extra: {unsigned => 1} | ||
| 29 | is_nullable: 1 | ||
| 30 | |||
| 31 | =head2 name | ||
| 32 | |||
| 33 | data_type: 'char' | ||
| 34 | is_nullable: 1 | ||
| 35 | size: 255 | ||
| 36 | |||
| 37 | =head2 row_id | ||
| 38 | |||
| 39 | data_type: 'integer' | ||
| 40 | extra: {unsigned => 1} | ||
| 41 | is_nullable: 1 | ||
| 42 | |||
| 43 | =head2 height | ||
| 44 | |||
| 45 | data_type: 'tinyint' | ||
| 46 | extra: {unsigned => 1} | ||
| 47 | is_nullable: 1 | ||
| 48 | |||
| 49 | =head2 comment | ||
| 50 | |||
| 51 | data_type: 'text' | ||
| 52 | is_nullable: 1 | ||
| 53 | |||
| 54 | =head2 thumb_data | ||
| 55 | |||
| 56 | data_type: 'blob' | ||
| 57 | is_nullable: 1 | ||
| 58 | |||
| 59 | =head2 ctime | ||
| 60 | |||
| 61 | data_type: 'timestamp' | ||
| 62 | datetime_undef_if_invalid: 1 | ||
| 63 | default_value: current_timestamp | ||
| 64 | is_nullable: 0 | ||
| 65 | |||
| 66 | =head2 user_name | ||
| 67 | |||
| 68 | data_type: 'char' | ||
| 69 | is_nullable: 1 | ||
| 70 | size: 64 | ||
| 71 | |||
| 72 | =cut | ||
| 73 | |||
| 74 | 1 | __PACKAGE__->add_columns( | |
| 75 | "id", | ||
| 76 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 77 | "name", | ||
| 78 | { data_type => "char", is_nullable => 1, size => 255 }, | ||
| 79 | "row_id", | ||
| 80 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 81 | "height", | ||
| 82 | { data_type => "tinyint", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 83 | "comment", | ||
| 84 | { data_type => "text", is_nullable => 1 }, | ||
| 85 | "thumb_data", | ||
| 86 | { data_type => "blob", is_nullable => 1 }, | ||
| 87 | "ctime", | ||
| 88 | { | ||
| 89 | data_type => "timestamp", | ||
| 90 | datetime_undef_if_invalid => 1, | ||
| 91 | default_value => \"current_timestamp", | ||
| 92 | is_nullable => 0, | ||
| 93 | }, | ||
| 94 | "user_name", | ||
| 95 | { data_type => "char", is_nullable => 1, size => 64 }, | ||
| 96 | ); | ||
| 97 | |||
| 98 | |||
| 99 | # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-10-26 11:34:02 | ||
| 100 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yTXm2UbWb3Ux9LPkoUioqA | ||
| 101 | |||
| 102 | |||
| 103 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 104 | 1 | __PACKAGE__->meta->make_immutable; | |
| 105 | 1 | 1; | |