summaryrefslogtreecommitdiff
path: root/lib/mysqlschema.php
AgeCommit message (Collapse)Author
2010-10-13Filter table definitions to scrub out unsupported features before trying to ↵Brion Vibber
alter a table. This lets us skip those where we end up trying to change unsupported features.
2010-10-11tweak for mysqlBrion Vibber
2010-10-11Start reworking things to build create table stuff (can view via ↵Brion Vibber
dumpschema.php --build)
2010-10-08Merge branch 'schema-x' of /Users/brion/pages/mublog into schema-xBrion Vibber
2010-10-08Starting on adapting postgresql schema class to look stuff up in the new ↵Brion Vibber
drupalish format... Fetching basic column data and unique indexes. Still needs detail work, multi-value indexes, foreign keys, and distinguishing the primary key. Since we don't get comments and such, for cleaner comparisons we should probably do a filtering on supported features.
2010-10-07Some more poking at schema stuff, on the road towards a more portable ↵Brion Vibber
table-modification with the new schema bits
2010-10-07fix up some more 'not null's and suchBrion Vibber
2010-10-07Fix detection of auto_increment fields in MySQL (sets them as 'serial' type)Brion Vibber
2010-10-07Some cleanup on detecting typesBrion Vibber
2010-10-07Finish patching up the index fetching in new schema stuff for mysqlBrion Vibber
2010-10-06Work in progress on fetching table defs from existing tables in new format ↵Brion Vibber
-- unfinished
2010-08-16More schema work in progress... removing duped code from schema child ↵Brion Vibber
classes, rebuilding things a bit more (incomplete; non-working state)
2010-08-10Workaround for index setup on SubMirror until I'm done w/ arbitrary index ↵Brion Vibber
support for Schema setup.
2010-07-29removing redundant constructorJames Walker
2010-03-12Fixes for updating indices, charset/collation and engine type on ↵Brion Vibber
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-02-08First steps on converting FeedSub into the pub/sub basis for OStatus ↵Brion Vibber
communications: * renamed FeedSub plugin to OStatus * now setting avatar on subscriptions * general fixes for subscription * integrated PuSH hub to handle only user timelines on canonical ID url; sends updates directly * set $config['feedsub']['nohub'] = true to test w/ foreign feeds that don't have hubs (won't actually receive updates though) * a few bits of code documentation * HMAC support for verified distributions (safest if sub setup is on HTTPS) And a couple core changes: * minimizing HTML output for exceptions in API requests to aid in debugging * fix for rel=self link in apitimelineuser when id given This does not not yet include any of the individual subscription management (Salmon notifications for sub/unsub, etc) nor a nice UI for user subscriptions. Needs some further cleanup to treat posts as status updates instead of link references.
2010-01-31move schema.type.php to typeschema.php like other filesEvan Prodromou