[FLOW3-general] Adding new field into table

"Christian Müller (Kitsunet)" christian.mueller at typo3.org
Mon Nov 28 08:41:29 CET 2011


On 28/11/11 04:10, Rayuth You wrote:
> Hi list
>
> By using the flow3 commend line :
>
> ./flow3 kickstart:model --force Acme.Demo CoffeeBean title:string
> content:string date:\DateTime number:integer
>
> And now I just found out I need one more field, so what should I do next?
>
> Best regards,
> Rayuth
>

Hi Rayuth,

you just extend your model by hand, adding the field, annotations and 
getter and setter methods. After you are done you let doctrine create a 
migration script for this database change and execute it:





More information about the FLOW3-general mailing list