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

Irene Höppner irene.hoeppner at isinett.de
Wed Mar 14 11:19:30 CET 2012


> Thanks that works. but what if i have in my team clumsy dev ? Can i
> block doctrine:update ?

Hi Dawid,

as long as you didn't disable security you could add the following lines 
to the Policy.yaml:

resources:
   methods:
     TYPO3_FLOW3_doctrineUpdateCommand: 
'method(TYPO3\FLOW3\Command\DoctrineCommandController->updateCommand())'



Then you should get an exception when trying to call the doctrine:update 
command (you might have to flush the cache).
However this is just some kind of a workaround... not-clumsy devs would 
be better ;-).

greets,
Irene


More information about the FLOW3-general mailing list