[DATABASE] Remove profile_tag_tag_fkey
profile_list.tag is not supposed to be unique, this also reverts the addition of profile_list_tag_key.
This commit is contained in:
parent
9124617055
commit
52800c3a65
@ -60,7 +60,6 @@ class Profile_list extends Managed_DataObject
|
||||
'primary key' => array('tagger', 'tag'),
|
||||
'unique keys' => array(
|
||||
'profile_list_id_key' => array('id'),
|
||||
'profile_list_tag_key' => array('tag'),
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'profile_list_tagger_fkey' => array('profile', array('tagger' => 'id')),
|
||||
|
@ -41,7 +41,6 @@ class Profile_tag extends Managed_DataObject
|
||||
'foreign keys' => array(
|
||||
'profile_tag_tagger_fkey' => array('profile', array('tagger' => 'id')),
|
||||
'profile_tag_tagged_fkey' => array('profile', array('tagged' => 'id')),
|
||||
'profile_tag_tag_fkey' => array('profile_list', array('tag' => 'tag')),
|
||||
),
|
||||
'indexes' => array(
|
||||
'profile_tag_modified_idx' => array('modified'),
|
||||
|
Loading…
Reference in New Issue
Block a user