Question: I currently have the following code in my program:

```
struct mystruct
{
    int x;
    struct y *list[10];
}

mystruct *h1=(mystruct *)malloc(sizeof(mystruct));

```

I want to declare the array `list` dynamically (using `malloc()`) when I declare the structure. Could anyone tell me how to go about this?

Answer: 
Sometimes using `php app/console doctrine:schema:update --force` doesn't resolve the problem, so you can simply comment other bundles from the AppKernel.php in $bundles and then use `php app/console doctrine:schema:update --force` again, it should work.

Don't forget to uncomment commented bundles.
If your bundles are mapped to different entity managers, you can (or must) use the argument "--em entity\_manager\_name" for the schema update command.

Example:

```
app/console doctrine:schema:update --em my_own_entity_manager_name

```