[FLOW3-general] i don`t want to delete database field when i delete field from my model
Dawid Pacholczyk
dpacholczyk at gmail.com
Tue Mar 13 20:44:56 CET 2012
W dniu 2012-03-13 18:59, "Christian Müller (FLOW3 Team)" pisze:
> 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
>
Thanks that works. but what if i have in my team clumsy dev ? Can i
block doctrine:update ?
More information about the FLOW3-general
mailing list