7 * Drupal docs don't list a bool type, but it might be nice to use rather than 'tinyint'
8 * Note however that we use bitfields and things as well in tinyints, and PG's
9 * "bool" type isn't 100% compatible with 0/1 checks. Just keeping tinyints. :)
13 * MySQL 'timestamp' columns were formerly used for 'modified' files for their
14 * auto-updating properties. This didn't play well with changes to cache usage
15 * in 0.9.x, as we don't know the timestamp value at INSERT time and never
16 * have a chance to load it up again before caching. For now I'm leaving them
17 * in, but we may want to clean them up later.
19 * Current code should be setting 'created' and 'modified' fields explicitly;
20 * this also avoids mismatches between server and client timezone settings.
24 * got one or two things wanting a custom charset setting on a field?
26 * foreign keys are kinda funky...
27 * those specified in inline syntax (as all in the original .sql) are NEVER ENFORCED on mysql
28 * those made with an explicit 'foreign key' WITHIN INNODB and IF there's a proper index, do get enforced
29 * double-check what we've been doing on postgres?
32 $classes = array('Profile',
40 'Oauth_token_association',
49 'Oauth_application_user',
57 'Foreign_subscription',
63 'Profile_tag_subscription',
82 'User_location_prefs',
87 'User_urlshortener_prefs',
91 foreach ($classes as $cls) {
92 $schema[strtolower($cls)] = call_user_func(array($cls, 'schemaDef'));