1 package DBIx::Class::Schema::Journal::DB::AuditLog;
3 use base 'DBIx::Class::Schema::Journal::DB::Base';
4 __PACKAGE__->table(__PACKAGE__->table);
6 __PACKAGE__->add_columns(
8 data_type => 'integer',
12 data_type => 'integer',
17 data_type => 'integer',
21 __PACKAGE__->belongs_to('created', 'DBIx::Class::Schema::Journal::DB::Change', 'create_id');
22 __PACKAGE__->belongs_to('deleted', 'DBIx::Class::Schema::Journal::DB::Change', 'delete_id');
26 my ($self, $data, $source, @rest) = @_;
30 changeset_id => $source->schema->current_changeset,
34 $self->next::method($data, $source, @rest);