| 1 | use utf8; | ||
| 2 | package Schema::RackTables::0_17_3::Result::MountOperation; | ||
| 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_3::Result::MountOperation | ||
| 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<MountOperation> | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | __PACKAGE__->table("MountOperation"); | ||
| 35 | |||
| 36 | =head1 ACCESSORS | ||
| 37 | |||
| 38 | =head2 id | ||
| 39 | |||
| 40 | data_type: 'integer' | ||
| 41 | extra: {unsigned => 1} | ||
| 42 | is_auto_increment: 1 | ||
| 43 | is_nullable: 0 | ||
| 44 | |||
| 45 | =head2 object_id | ||
| 46 | |||
| 47 | data_type: 'integer' | ||
| 48 | extra: {unsigned => 1} | ||
| 49 | is_nullable: 0 | ||
| 50 | |||
| 51 | =head2 ctime | ||
| 52 | |||
| 53 | data_type: 'timestamp' | ||
| 54 | datetime_undef_if_invalid: 1 | ||
| 55 | default_value: current_timestamp | ||
| 56 | is_nullable: 0 | ||
| 57 | |||
| 58 | =head2 user_name | ||
| 59 | |||
| 60 | data_type: 'char' | ||
| 61 | is_nullable: 1 | ||
| 62 | size: 64 | ||
| 63 | |||
| 64 | =head2 old_molecule_id | ||
| 65 | |||
| 66 | data_type: 'integer' | ||
| 67 | extra: {unsigned => 1} | ||
| 68 | is_nullable: 1 | ||
| 69 | |||
| 70 | =head2 new_molecule_id | ||
| 71 | |||
| 72 | data_type: 'integer' | ||
| 73 | extra: {unsigned => 1} | ||
| 74 | is_nullable: 1 | ||
| 75 | |||
| 76 | =head2 comment | ||
| 77 | |||
| 78 | data_type: 'text' | ||
| 79 | is_nullable: 1 | ||
| 80 | |||
| 81 | =cut | ||
| 82 | |||
| 83 | __PACKAGE__->add_columns( | ||
| 84 | "id", | ||
| 85 | { | ||
| 86 | data_type => "integer", | ||
| 87 | extra => { unsigned => 1 }, | ||
| 88 | is_auto_increment => 1, | ||
| 89 | is_nullable => 0, | ||
| 90 | }, | ||
| 91 | "object_id", | ||
| 92 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 93 | "ctime", | ||
| 94 | { | ||
| 95 | data_type => "timestamp", | ||
| 96 | datetime_undef_if_invalid => 1, | ||
| 97 | default_value => \"current_timestamp", | ||
| 98 | is_nullable => 0, | ||
| 99 | }, | ||
| 100 | "user_name", | ||
| 101 | { data_type => "char", is_nullable => 1, size => 64 }, | ||
| 102 | "old_molecule_id", | ||
| 103 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 104 | "new_molecule_id", | ||
| 105 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 106 | "comment", | ||
| 107 | { data_type => "text", is_nullable => 1 }, | ||
| 108 | ); | ||
| 109 | |||
| 110 | =head1 PRIMARY KEY | ||
| 111 | |||
| 112 | =over 4 | ||
| 113 | |||
| 114 | =item * L</id> | ||
| 115 | |||
| 116 | =back | ||
| 117 | |||
| 118 | =cut | ||
| 119 | |||
| 120 | __PACKAGE__->set_primary_key("id"); | ||
| 121 | |||
| 122 | |||
| 123 | # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:04:14 | ||
| 124 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nKZwG09N27/uITuOdwWVyg | ||
| 125 | |||
| 126 | |||
| 127 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 128 | 1; |