[FLOW3-general] i don`t want to delete database field when i delete field from my model

"Christian Müller (FLOW3 Team)" christian.mueller at typo3.org
Tue Mar 13 18:59:23 CET 2012


Hi Dawid,

not with doctrine:update, but if you use doctrine migrations you could 
remove the ALTER TABLE statement to drop the column from the created 
migration file and then execute the migration, in that case you should 
be safe.

Cheers,
Christian


On 13/03/12 18:33, Dawid Pacholczyk wrote:
> Hello,
> when I delete a field from my model and i`ll update doctrine:update the
> database field is dropped with all data. Is it possible not to lose data
> and the field from db ?
>
> Best regards,
> Dawid



More information about the FLOW3-general mailing list