[Flow] doctrine:migrate fail after installing TYPO3.Media

Patric Eckhart mail at patriceckhart.com
Mon Feb 16 10:28:12 CET 2015


Hey,

I have installed the TYPO3.Media Package. It works fine, the images a rendered.

But when I run ./flow doctrine:migrate I got an error:
An exception occurred while executing 'CREATE TABLE
  typo3_media_domain_model_image (flow3_persistence_identifier VARCHAR(40)
  NOT NULL, resource VARCHAR(40) DEFAULT NULL, title VARCHAR(255) DEFAULT
  NULL, width INT DEFAULT NULL, height INT DEFAULT NULL, type INT DEFAULT
  NULL, imagevariants LONGTEXT DEFAULT NULL COMMENT '(DC2Type:array)',
  INDEX IDX_7FA2358DBC91F416 (resource), PRIMARY
  KEY(flow3_persistence_identifier)) ENGINE = InnoDB':

SQLSTATE[42S01]: Base table or view already exists: 1050 Table
  'typo3_media_domain_model_image' already exists

All tables are utf8_unicode_ci

/flow doctrine:update works.

I have tried ./flow doctrine:migrationgenerate, then mv the Migration File and run :migrate again. But it does not work.

Thank you for your answers


More information about the Flow mailing list