gnu-social/plugins/OStatus/classes
Brion Vibber 9e9ab23e1f Fixes for updating indices, charset/collation and engine type on plugin-created tables.
Under MySQL, new tables will be created as InnoDB with UTF-8 (utf8/utf8_bin) same as core tables.
Existing plugin tables will have table engine and default charset/collation updated, and string columns will have charset updated, at checkschema time.

Switched from 'DESCRIBE' to INFORMATION_SCHEMA for pulling column information in order to get charset. A second hit to INFORMATION_SCHEMA is also needed to get table properties.

Indices were only being created at table creation time, which ain't so hot. Now also adding/dropping indices when they change.

Fixed up some schema defs in OStatus plugin that were a bit flaky, causing extra alter tables to be run.

TODO: Generalize this infrastructure a bit more up to base schema & pg schema classes.
2010-03-12 13:16:32 -08:00
..
FeedSub.php Fixes for updating indices, charset/collation and engine type on plugin-created tables. 2010-03-12 13:16:32 -08:00
HubSub.php Fixes for updating indices, charset/collation and engine type on plugin-created tables. 2010-03-12 13:16:32 -08:00
Magicsig.php Fixes for updating indices, charset/collation and engine type on plugin-created tables. 2010-03-12 13:16:32 -08:00
Ostatus_profile.php OStatus: reject attempts to create a remote profile for a local user or group. 2010-03-10 17:00:05 -08:00
Ostatus_source.php OStatus: record source profile & saving method in ostatus_source table; this allows us to distinguish posts that have come through an unverified group feed 2010-02-21 19:52:53 -08:00