[Flow] Upgrade from FLOW3 1.1 to Flow 2.0: error with doctrine:migrate

François Suter fsu-lists at cobweb.ch
Tue Aug 20 17:44:18 CEST 2013


Hi all,

I'm trying to upgrade an existing Flow application from 1.1 to 2.0. I'm 
following the instructions given in [1].

Regarding the database, it says the first step is to run:

./flow doctrine:migrate

but that fails with a very vague error:

Uncaught Exception
   An exception occurred while executing 'ALTER TABLE
   typo3_flow_security_account_roles_join ADD CONSTRAINT FK_ADF11BBC58842EFC
   FOREIGN KEY (flow_security_account) REFERENCES
   typo3_flow_security_account (persistence_object_identifier)':

   SQLSTATE[HY000]: General error: 1005 Can't create table
   'flow3_test.#sql-c1_3f0' (errno: 150)

More Information
   Exception code      #0
   File 
/Users/fsuter/Sites/flow2/Packages/Libraries/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php 
line 47

Any hint what could be the issue?

TIA

-- 

Francois Suter

Work: Cobweb Development Sarl - http://www.cobweb.ch

TYPO3: Help the project! - http://typo3.org/contribute/

Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/

[1] 
http://flow.typo3.org/download/release-notes/flow-2-0/upgrading-from-flow3-1-1


More information about the Flow mailing list