- Added field status in the primary key array of model MsgStatus_model

- Changes in the logic of the messaging system, now every message status
is a new entry in the table tbl_msg_status
This commit is contained in:
paolo
2016-07-27 13:27:55 +02:00
parent d3bc72539a
commit cec2bb1a27
4 changed files with 264 additions and 253 deletions
@@ -11,7 +11,7 @@ class MsgStatus_model extends DB_Model
{
parent::__construct();
$this->dbTable = "public.tbl_msg_status";
$this->pk = array("message_id", "person_id");
$this->pk = array("message_id", "person_id", "status");
$this->hasSequence = false;
}
}