about 1/3 through looking at every database table
auto dev server commit
Merge branch 'dev' of razorit.beanstalkapp.com:/z into dev
auto dev server commit
Updating db completely.
updated core schema files
Started to get the new upgrade functions to work.
Completed the new upgrade script.

When you visit /admin it now runs a compare between the schema files and the latest database structure.  If they don't match, then it shows what upgrades need to take place.

This is a big improvement because we can now centralize our db updates better by putting them in the schema files.  Instead of the version folder which will be deleted completely.

When a db update is made, the schema file for that db table needs to be updated, and besides the normal baking of the schema files we have a particular header that is needed in the schema files AND IMPORTANT...

IMPORTANT : If a db column is renamed (as opposed to dropped or added) then it requires that we use the ZuhaSchema::rename function, like it is currently used in the blogs plugin schema file
Completed the new upgrade script.

When you visit /admin it now runs a compare between the schema files and the latest database structure.  If they don't match, then it shows what upgrades need to take place.

This is a big improvement because we can now centralize our db updates better by putting them in the schema files.  Instead of the version folder which will be deleted completely.

When a db update is made, the schema file for that db table needs to be updated, and besides the normal baking of the schema files we have a particular header that is needed in the schema files AND IMPORTANT...

IMPORTANT : If a db column is renamed (as opposed to dropped or added) then it requires that we use the ZuhaSchema::rename function, like it is currently used in the blogs plugin schema file
Upgrade Script Checks for Core App Upgrades too now.

Instead of just plugins, the upgrade script now checks the core app schema file too.

IMPORTANT NOTE : Wasn't mentioned before, but its worth noting how this upgrade works...

1. copy's the current table to table_name_temp
2. runs alter sql on the current table
3. copy's data from renamed columns to new column name
4. deletes table_name_temp
Updating the Console Commands for Schema Generate

Making it so that when you run the console command...

cake zuha_schema generate --plugin SomePlugin

... that it will include the necessary header automatically.
ignore
Console Schema Finished.

1. Got rid of habtm related tables from being automatically included in console generated schema files.

2. Got rid of aros, acos, and aros_acos from being automatically included in console generated schema files.

3. Add the header necessary to work with the zuha upgrade functions

This is all good, because now you can upgrade the zuha database without worrying about which version the settings state, because we compare the database to the schema files and see what the difference is and update accordingly.

Also its really fast to generate a schema file after making a db update. Just run the console command...

cake zuha_schema generate --plugin SomePluginName (where SomePluginName equals the actual plugin name, or just omit the --plugin option to generate the core app schema.)

IMPORTANT NOTE : If you rename a column it does take a manual update to the schema file to add the table name, and old and new names of the column.  But if you just add or drop it will be all set.  The manual update allows us to automatically copy data from the old table column to the new table column so that no data is lost.
Fixed typo that kept data from transferring to the new column names.
Mostly testing the upgrades, and updating schemas, but includes a folder rename left over with lower case from cake 2.0 upgrade
folder case fix
ignore
Deleted Facebook, it needs to be updated to work anyway, and it would be better as a submodule anyhow
Updated schema files throughout
submodule commits