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: 
When you create a new bundle, just use

```
app/console doctrine:schema:update

```

Since your schema exists already.
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

```