Migrate: updating existing table
I'm not sure if this has been already covered somewhere (seem not to be able to find it). I have a following problem:
I created a mapper class, ran a migration. The table is in the db. Now I'm trying add a new field, but the migration does not add it automatically. I have to kill the table and migrate it again.
The issue is solved in the new development branch of phpDataMapper for PHP 5.3 named Spot. Development of phpDataMapper itself has been discontinued in favor of the PHP 5.3+ Spot version.
http://github.com/actridge/Spot
Vance Lucas
On Wed, Jun 15, 2011 at 7:40 AM, martincohen < [email protected]>wrote:
I'm not sure if this has been already covered somewhere (seem not to be able to find it). I have a following problem:
I created a mapper class, ran a migration. The table is in the db. Now I'm trying add a new field, but the migration does not add it automatically. I have to kill the table and migrate it again.
Reply to this email directly or view it on GitHub: https://github.com/vlucas/phpDataMapper/issues/10