phpDataMapper icon indicating copy to clipboard operation
phpDataMapper copied to clipboard

Migrate: updating existing table

Open martincohen opened this issue 14 years ago • 1 comments

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.

martincohen avatar Jun 15 '11 12:06 martincohen

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

vlucas avatar Jun 15 '11 14:06 vlucas