Convert SamplePlugin to new-style table defs, tweak some stuff to test basic checkschema

This commit is contained in:
Brion Vibber
2010-10-19 17:25:56 -07:00
parent 8b0ba03a2e
commit 3b6f738ab7
3 changed files with 23 additions and 9 deletions

View File

@@ -73,8 +73,8 @@ class Ostatus_profile extends Managed_DataObject
'ostatus_profile_feeduri_idx' => array('feeduri'),
),
'foreign keys' => array(
'profile_id' => array('profile' => 'id'),
'group_id' => array('user_group' => 'id'),
'ostatus_profile_profile_id_fkey' => array('profile', array('profile_id' => 'id')),
'ostatus_profile_group_id_fkey' => array('user_group', array('group_id' => 'id')),
),
);
}