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, @rest) = @_;
29 changeset_id => $self->result_source->schema->_journal_schema->current_changeset,
32 $self->next::method($data, @rest);