fatfreecrm/fat_free_crm — pull request #128 by create-philipp-ullmann (2012-04-05 09:06:20+00:00)
Title: Fixed mysql syntax error exception (update subscribed_users)

If you have already data in the database and you run the migration, you will get a "mysql" syntax error (Migration update subscribed users) if you use a mysql database.

I would recommend to use a transaction:

* All updates run as one atomic action
* Performance
* String may not hold the query, if for example you must update 2000 records or more?