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.
public function up(Schema $schema)
{
$user = $schema->getTable('user');
$user->addColumn('resellerId', 'integer', array(
'length' => '10',
'notnull' => true,
'unsigned' => true,
));
}