[Bast-commits] r9224 -
DBIx-Class-Journal/1.000/trunk/lib/DBIx/Class/Schema/Journal/DB
oliver at dev.catalyst.perl.org
oliver at dev.catalyst.perl.org
Mon Apr 26 20:57:43 GMT 2010
Author: oliver
Date: 2010-04-26 21:57:43 +0100 (Mon, 26 Apr 2010)
New Revision: 9224
Modified:
DBIx-Class-Journal/1.000/trunk/lib/DBIx/Class/Schema/Journal/DB/AuditLog.pm
Log:
add comment about why we have not null set on create_id
Modified: DBIx-Class-Journal/1.000/trunk/lib/DBIx/Class/Schema/Journal/DB/AuditLog.pm
===================================================================
--- DBIx-Class-Journal/1.000/trunk/lib/DBIx/Class/Schema/Journal/DB/AuditLog.pm 2010-04-26 20:32:44 UTC (rev 9223)
+++ DBIx-Class-Journal/1.000/trunk/lib/DBIx/Class/Schema/Journal/DB/AuditLog.pm 2010-04-26 20:57:43 UTC (rev 9224)
@@ -7,6 +7,10 @@
$class->table($source->name . '_audit_log');
+ # the create_id is the id of first insertion of the row
+ # so we always know where to roll back to
+ # and presumably should be supplied on every insert
+
$class->add_columns(
create_id => {
data_type => 'integer',
More information about the Bast-commits
mailing list