| 1 | use utf8; | ||
| 2 | package Strehler::Schema::Result::ActivityLog; | ||
| 3 | $Strehler::Schema::Result::ActivityLog::VERSION = '1.6.8'; | ||
| 4 | # Created by DBIx::Class::Schema::Loader | ||
| 5 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | Strehler::Schema::Result::ActivityLog | ||
| 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<ACTIVITY_LOG> | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | __PACKAGE__->table("ACTIVITY_LOG"); | ||
| 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 user | ||
| 45 | |||
| 46 | data_type: 'varchar' | ||
| 47 | is_nullable: 1 | ||
| 48 | size: 100 | ||
| 49 | |||
| 50 | =head2 action | ||
| 51 | |||
| 52 | data_type: 'varchar' | ||
| 53 | is_nullable: 1 | ||
| 54 | size: 100 | ||
| 55 | |||
| 56 | =head2 entity_type | ||
| 57 | |||
| 58 | data_type: 'varchar' | ||
| 59 | is_nullable: 1 | ||
| 60 | size: 100 | ||
| 61 | |||
| 62 | =head2 entity_id | ||
| 63 | |||
| 64 | data_type: 'integer' | ||
| 65 | is_nullable: 1 | ||
| 66 | |||
| 67 | =head2 timestamp | ||
| 68 | |||
| 69 | data_type: 'datetime' | ||
| 70 | datetime_undef_if_invalid: 1 | ||
| 71 | is_nullable: 1 | ||
| 72 | |||
| 73 | =cut | ||
| 74 | |||
| 75 | __PACKAGE__->add_columns( | ||
| 76 | "id", | ||
| 77 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||
| 78 | "user", | ||
| 79 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||
| 80 | "action", | ||
| 81 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||
| 82 | "entity_type", | ||
| 83 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||
| 84 | "entity_id", | ||
| 85 | { data_type => "integer", is_nullable => 1 }, | ||
| 86 | "timestamp", | ||
| 87 | { | ||
| 88 | data_type => "datetime", | ||
| 89 | datetime_undef_if_invalid => 1, | ||
| 90 | is_nullable => 1, | ||
| 91 | }, | ||
| 92 | ); | ||
| 93 | |||
| 94 | =head1 PRIMARY KEY | ||
| 95 | |||
| 96 | =over 4 | ||
| 97 | |||
| 98 | =item * L</id> | ||
| 99 | |||
| 100 | =back | ||
| 101 | |||
| 102 | =cut | ||
| 103 | |||
| 104 | __PACKAGE__->set_primary_key("id"); | ||
| 105 | |||
| 106 | |||
| 107 | # Created by DBIx::Class::Schema::Loader v0.07037 @ 2014-03-30 16:02:43 | ||
| 108 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7nG5V0Nmw3p00rQnuH8Rhg | ||
| 109 | |||
| 110 | |||
| 111 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 112 | |||
| 113 | |||
| 114 | 1; |