phpfreak/Project-Pier — pull request #34 by JonDeG (2013-01-05 14:25:06+00:00)
Title: Node 4053 short term fix for SP2 upgrade script.

The upgrade script in SP2 is failing for new installations because the wiki_pages table doesn't exist as outlined in node 4053.

Modified most of the SQL statements so they would not fail, but there is no easy way to fix line 10. To work around this patch.php was modified so it continues to execute all SQL statements even if one fails. A longer term fix would be to include the table name as a separate parameter on each line in the .sql patch files, then have patch.php verify that the table exists before executing the sql statement.

I'll update the SP2 zip file on pp.org asap.