From 930230986e7d38273755711f86427813926bb4d3 Mon Sep 17 00:00:00 2001 From: biakaveron Date: Fri, 11 Nov 2011 23:29:29 +0400 Subject: [PATCH] #3. Add email field to Model_User (primary email) --- classes/model/auth/jelly/user.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/model/auth/jelly/user.php b/classes/model/auth/jelly/user.php index 5a70968..556ab47 100644 --- a/classes/model/auth/jelly/user.php +++ b/classes/model/auth/jelly/user.php @@ -8,6 +8,7 @@ public static function initialize(Jelly_Meta $meta) ->fields(array( 'id' => Jelly::field('primary'), 'username' => Jelly::field('string'), + 'email' => Jelly::field('email'), 'auth_data' => Jelly::field('BelongsTo', array( //'foreign' => 'auth_data', 'column' => 'auth_id',