1 package DBIx::Class::Schema::Journal::DB::AuditLog;
3 use base 'DBIx::Class::Schema::Journal::DB::Base';
5 __PACKAGE__->add_columns(
7 data_type => 'integer',
11 data_type => 'integer',
16 data_type => 'integer',
20 __PACKAGE__->belongs_to('created', 'DBIx::Class::Schema::Journal::DB::Change', 'create_id');
21 __PACKAGE__->belongs_to('deleted', 'DBIx::Class::Schema::Journal::DB::Change', 'delete_id');
25 my ($self, $data, @rest) = @_;
28 changeset_id => $self->result_source->schema->_journal_schema->current_changeset,
31 $self->next::method($data, @rest);