[Flow] Installing TYPO3.Media

Christian Loock chl at vkf-renzel.de
Wed Apr 23 10:55:16 CEST 2014


Hi,

you can also use ./flow doctrine:migrationstatus to see which migrations 
have run and which didn't.

You can also use ./flow doctrine:validate to check if any Model Classes 
are causing issues.

However, once you ran all migrations (as long as you use them aswell for 
your Package) you should be good to go without having to update manually 
using doctrine:update.

You could also try to run ./flow doctrine:migrationgenerate to see if it 
will generate any additional migrations for your installation (do this, 
after all existing migrations have run).

When you use migrations (which you should) you should never use 
doctrine:update because it might make future migrations break. When 
changing your models, you should use migrationgenerate to generate a 
migration and move the generated file to your Package's migration folder.

See also 
http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/Persistence.html#schema-management 
for further reference.

Cheers!
On 23.04.2014 10:48, Rik Willems wrote:
>
> Hi Christian,
>
> Yes I did that. That said no migration was needed. But the update kept 
> giving errors. Let me try the fresh database...
>
> Cheers!
>
> Christian Loock schreef op 23-04-14 10:42:
>> Hi,
>>
>> did you try ./flow doctrine:migrate instead? In is recommended to use
>> migration instead of update, since migrations might contain additional
>> logic compared to just plain updating the DB Schema.
>>
>> You might need to go back to a fresh database however, since some tables
>> might allready exist and cause problems.
>>
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow

-- 
Christian Loock
Web Developer
Renzel Agentur
www.renzel-agentur.de



More information about the Flow mailing list