[FLOW3-general] Adding new field into table

Rayuth You rayuth at typo3cambodia.org
Mon Nov 28 10:32:46 CET 2011


Hi Christian

What i got from your answer is:
I need to write new field and new function setter and getter in 
\Domain\Model\CoffeeBean.php, and run
./flow3 doctrine:migrationgenerate
./flow3 doctrine:migrate

Automatically, it will write into my database. Am I right? or what I get 
wrong?

Thanks,
Yuth

On 11/28/2011 02:43 PM, "Christian Müller (Kitsunet)" wrote:
> Wasnt' finished yet...
>
> Maybe you do a
> ./flow3 doctrine:migrationgenerate
>
> before you change your model, just to have a base migration that defines
> your starting status.
>
>
> These are the commands after changing the model:
>
> ./flow3 doctrine:migrationgenerate
> ./flow3 doctrine:migrate
>
> Cheers,
> Christian


-- 
Khmer TYPO3 User Group
Spirit of sharing

Rayuth You
Web Developer

M: +855 11 262 078
E: rayuth at typo3cambodia.org


More information about the FLOW3-general mailing list