Fix the app_config.php schema for extensions correct the key type and set as a foreign key. Thanks Willem for reporting this and NYSolutions for reminding me.

This commit is contained in:
Mark Crane
2013-09-13 00:57:38 +00:00
parent 6a72593b59
commit e0840a22d2

View File

@@ -273,7 +273,9 @@
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_follow_me';
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'follow_me_uuid';
$z++;
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'enabled';
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';