fixup key definition for User_flag_profile
This commit is contained in:
parent
0668520a8d
commit
5cd385fe4f
@ -42,15 +42,15 @@ class User_flag_profile extends Memcached_DataObject
|
|||||||
|
|
||||||
function table() {
|
function table() {
|
||||||
return array(
|
return array(
|
||||||
'profile_id' => DB_DATAOBJECT_INT,
|
'profile_id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,
|
||||||
'user_id' => DB_DATAOBJECT_INT,
|
'user_id' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,
|
||||||
'created' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME,
|
'created' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME + DB_DATAOBJECT_NOTNULL,
|
||||||
'cleared' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME
|
'cleared' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function keys() {
|
function keys() {
|
||||||
return array('profile_id', 'user_id');
|
return array('profile_id' => 'N', 'user_id' => 'N');
|
||||||
}
|
}
|
||||||
|
|
||||||
function &pkeyGet($kv)
|
function &pkeyGet($kv)
|
||||||
|
Loading…
Reference in New Issue
Block a user