Start reworking Bookmark plugin for more modern code

This commit is contained in:
Mikael Nordfeldth
2015-10-10 21:53:45 +02:00
parent 18f07a48e8
commit cae43344ec
3 changed files with 40 additions and 34 deletions

View File

@@ -74,8 +74,8 @@ class Bookmark extends Managed_DataObject
'bookmark_uri_key' => array('uri'),
),
'foreign keys' => array(
'bookmark_profile_id_fkey' => array('profile', array('profile_id' => 'id'))
'bookmark_uri_fkey' => array('notice', array('uri' => 'uri'))
'bookmark_profile_id_fkey' => array('profile', array('profile_id' => 'id')),
'bookmark_uri_fkey' => array('notice', array('uri' => 'uri')),
),
'indexes' => array('bookmark_created_idx' => array('created'),
'bookmark_url_idx' => array('url'),