Parijat,
Follow the doc given by Tom.
Then, once you understand, just remember that for creating the
migration classes correctly you will have to do that in the correct
order:
1 - your schema yml files and your database structure should match
2 - update the classes to match your schema yml by doin
Hi,
You are probably looking for migrations.
Cheers,
Thibault.
On Mar 24, 7:20 am, Parijat Kalia wrote:
> Hey,
>
> So we all know that when you create new tables with Symfony in the database,
> it will delete all the existing data in the database.
>
> I don't want that to happen. Is symfony try
You can dump all data in your database using:
php symfony doctrine:data-dump
and then load it using:
php symfony doctrine:data-load
if you changed your schema maybe, you'll have to check the /data/
fixtures/data.yml file and correct wrong column names.
On 24 bře, 07:20, Parijat Kalia wrote:
> H