For deployment environments, I use migrations to seed the initial state (if
it is common to all deployment environments).

For testing, I rely heavily on data-fixtures.

On Fri, 12 Oct 2018, 10:05 Plamen Vasilev, <[email protected]>
wrote:

> Hi all,
>
> what should I do to load data (like users, roles and etc.) when I install
> the application?
>
> 1. use doctrine migration ?
> 2. use doctrine fixtures ?
> 3. use custom command/script?
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to