Migration just got too complex for straight SQL.
Remove the upgrade sql, will have to do a proper
migrate.