Doctrine 2 migrations how to alter a table with a sqlite db?

valsareun

New Member
I'm having some issues with altering a table in the migrations of doctrine 2. Following code always throws the error: Operation 'Doctrine\DBAL\Platforms\AbstractPlatform::getAlterTableSQL' is not supported by platform.This is strange as alter table is supported by sqlite.\[code\]public function up(Schema $schema){ $user = $schema->getTable('user'); $user->addColumn('resellerId', 'integer', array( 'length' => '10', 'notnull' => true, 'unsigned' => true, ));}\[/code\]
 
Back
Top