[Bps-public-commit] App-Changeloggr branch, master, updated. 630b17c26837457242affdf1abb4a9ad09fecd0d

sartak at bestpractical.com sartak at bestpractical.com
Wed Apr 29 19:01:58 EDT 2009


The branch, master has been updated
       via  630b17c26837457242affdf1abb4a9ad09fecd0d (commit)
      from  99f74fe7c73d2f7a6e7f8ca0e1fc983d364542ab (commit)

Summary of changes:
 etc/config.yml                    |    2 +-
 lib/App/Changeloggr/Model/Vote.pm |    7 +++++++
 2 files changed, 8 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 630b17c26837457242affdf1abb4a9ad09fecd0d
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 29 19:01:48 2009 -0400

    Add a date column to Votes

diff --git a/etc/config.yml b/etc/config.yml
index 4b5c0c1..e7907b3 100644
--- a/etc/config.yml
+++ b/etc/config.yml
@@ -14,7 +14,7 @@ framework:
     Password: ''
     RecordBaseClass: Jifty::DBI::Record::Cachable
     User: ''
-    Version: 0.0.4
+    Version: 0.0.5
   DevelMode: 1
   L10N: 
     PoDir: share/po
diff --git a/lib/App/Changeloggr/Model/Vote.pm b/lib/App/Changeloggr/Model/Vote.pm
index 8d5349d..f162c54 100644
--- a/lib/App/Changeloggr/Model/Vote.pm
+++ b/lib/App/Changeloggr/Model/Vote.pm
@@ -28,6 +28,13 @@ use App::Changeloggr::Record schema {
         type is 'text',
         default is '',
         since '0.0.3';
+
+    column date =>
+        type is 'timestamp',
+        filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime),
+        label is 'Date',
+        default is defer { DateTime->now },
+        since '0.0.5';
 };
 
 sub current_user_can {

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



More information about the Bps-public-commit mailing list