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