[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. 244ca3e9d9fa7acabb79c5bf448e2af8fd6c6b4d

Shawn Moore sartak at bestpractical.com
Tue Feb 8 00:01:51 EST 2011


The branch, master has been updated
       via  244ca3e9d9fa7acabb79c5bf448e2af8fd6c6b4d (commit)
      from  25e2a78984bf2ba2a530987400dc9df0e4541cbe (commit)

Summary of changes:
 .../Plugin/RecordHistory/Model/TransactionEntry.pm |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 244ca3e9d9fa7acabb79c5bf448e2af8fd6c6b4d
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Feb 8 00:01:44 2011 -0500

    Fields for TransactionEntry

diff --git a/lib/Jifty/Plugin/RecordHistory/Model/TransactionEntry.pm b/lib/Jifty/Plugin/RecordHistory/Model/TransactionEntry.pm
index 525bfcf..8e108da 100644
--- a/lib/Jifty/Plugin/RecordHistory/Model/TransactionEntry.pm
+++ b/lib/Jifty/Plugin/RecordHistory/Model/TransactionEntry.pm
@@ -6,6 +6,22 @@ use Jifty::DBI::Schema;
 use Jifty::Record schema {
     column transaction =>
         refers to Jifty::Plugin::RecordHistory::Model::Transaction,
+        label is 'Transaction',
+        is immutable;
+
+    column field =>
+        type is 'varchar',
+        label is 'Field',
+        is immutable;
+
+    column old_value =>
+        type is 'text',
+        label is 'Old value',
+        is immutable;
+
+    column new_value =>
+        type is 'text',
+        label is 'New value',
         is immutable;
 };
 
@@ -21,4 +37,3 @@ sub delegate_current_user_can {
 
 1;
 
-

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



More information about the Bps-public-commit mailing list