|
|
@@ -11,7 +11,11 @@ use \lithium\security\Password;
|
|
|
class User extends \lithium\data\Model {
|
|
|
//To bypass mongo bug
|
|
|
protected $_meta = array('key' => '_id');
|
|
|
- protected $_schema = array('_id' => array('type' => 'id'), 'feed' => array('type'=>'string', 'array'=>true));
|
|
|
+ protected $_schema = array('_id' => array('type' => 'id'),
|
|
|
+ 'feed' => array('type'=>'string', 'array' => true),
|
|
|
+ 'animelist' => array('type' => 'object', 'array' => true),
|
|
|
+ 'mangalist' => array('type' => 'object', 'array' => true)
|
|
|
+ );
|
|
|
|
|
|
public static function __init()
|
|
|
{
|