summaryrefslogtreecommitdiff
path: root/lib/schema.php
AgeCommit message (Collapse)Author
2009-11-24Break TableDef, ColumnDef classes to separate files so autoloader can find them.Brion Vibber
With $config['db']['schemacheck'] set to 'script' in live deployment, Schema class wasn't being preloaded for us; the uses of TableDef by plugins for DataObject configuration would then fail because the class wasn't loaded. Broken to separate files, the autoloader can find all classes in either case. PHP Fatal error: Class 'TableDef' not found in /var/www/statusnet/plugins/OpenID/User_openid.php on line 43, referer: http://identi.ca/brionv/all
2009-11-16Allow plugin DB_DataObject classes to not have to use the .ini file by ↵Craig Andrews
overriding keys(), table(), and sequenceKey() for them
2009-10-02make lib/schema.php phpcs-cleanEvan Prodromou
2009-10-01Some bug fixesEvan Prodromou
The $tomod variable wasn't set, and the ColumnDef constructor didn't work without any args. These are fixed.
2009-10-01add some more methods to SchemaEvan Prodromou
2009-09-23use schema tool to create a tableEvan Prodromou
2009-09-23statusize schema-related modulesEvan Prodromou
2009-09-23make table def method of schema code workEvan Prodromou
2009-09-23start a module for schema managementEvan Prodromou