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

sartak at bestpractical.com sartak at bestpractical.com
Wed May 20 17:17:28 EDT 2009


The branch, master has been updated
       via  d540fe53132189e10f1faf4085ddec818a8dd6d7 (commit)
      from  627780c343851c69d5356ab817d2bef6a2d007f8 (commit)

Summary of changes:
 lib/App/Changeloggr/Model/Changelog.pm |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit d540fe53132189e10f1faf4085ddec818a8dd6d7
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed May 20 17:15:50 2009 -0400

    Add owner_id column to Changelogs

diff --git a/lib/App/Changeloggr/Model/Changelog.pm b/lib/App/Changeloggr/Model/Changelog.pm
index 0d5b0ea..9eebd85 100644
--- a/lib/App/Changeloggr/Model/Changelog.pm
+++ b/lib/App/Changeloggr/Model/Changelog.pm
@@ -41,6 +41,11 @@ use App::Changeloggr::Record schema {
         default is 0,
         label is 'Incremental tags?',
         since '0.0.6';
+
+    column owner_id =>
+        refers_to App::Changeloggr::Model::User,
+        default is defer { Jifty->web->current_user->user_object },
+        since '0.0.13';
 };
 
 # has to go below schema

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



More information about the Bps-public-commit mailing list