[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. 8073b38bb7fe3a4d80d8bca02c4a7092d485f6d9

Shawn Moore sartak at bestpractical.com
Wed Feb 2 20:24:36 EST 2011


The branch, master has been updated
       via  8073b38bb7fe3a4d80d8bca02c4a7092d485f6d9 (commit)
      from  5d7dddf810b07dd8e26f6db3664821cc46b49d0e (commit)

Summary of changes:
 .../Plugin/RecordHistory/Model/Transaction.pm      |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 8073b38bb7fe3a4d80d8bca02c4a7092d485f6d9
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Feb 2 20:24:24 2011 -0500

    Make Transaction->record_is immutable

diff --git a/lib/Jifty/Plugin/RecordHistory/Model/Transaction.pm b/lib/Jifty/Plugin/RecordHistory/Model/Transaction.pm
index c27040b..920cdc4 100644
--- a/lib/Jifty/Plugin/RecordHistory/Model/Transaction.pm
+++ b/lib/Jifty/Plugin/RecordHistory/Model/Transaction.pm
@@ -6,7 +6,8 @@ use Jifty::DBI::Schema;
 use Jifty::Record schema {
     column record_id =>
         type is 'integer',
-        is mandatory;
+        is mandatory,
+        is immutable;
 };
 
 sub record {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list