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

sartak at bestpractical.com sartak at bestpractical.com
Wed Apr 29 18:22:05 EDT 2009


The branch, master has been updated
       via  e4dfb826438154bd342f9ad60f7649cb96ceb5e0 (commit)
      from  593250085e9952809422fef8661279304a42189f (commit)

Summary of changes:
 lib/App/Changeloggr/Model/User.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit e4dfb826438154bd342f9ad60f7649cb96ceb5e0
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 29 18:21:56 2009 -0400

    force usernames to be distinct

diff --git a/lib/App/Changeloggr/Model/User.pm b/lib/App/Changeloggr/Model/User.pm
index aa48c48..eef45fe 100644
--- a/lib/App/Changeloggr/Model/User.pm
+++ b/lib/App/Changeloggr/Model/User.pm
@@ -7,7 +7,8 @@ use Jifty::DBI::Schema;
 use App::Changeloggr::Record schema {
     column name =>
         type is 'text',
-        label is 'Name';
+        label is 'Name',
+        is distinct;
 
     column session_id =>
         type is 'text',

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



More information about the Bps-public-commit mailing list