Discussion:
[doctrine-user] Pre load data on install
Plamen Vasilev
2018-10-12 08:05:23 UTC
Permalink
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 doctrine-user+***@googlegroups.com.
To post to this group, send email to doctrine-***@googlegroups.com.
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.
Marco Pivetta
2018-10-12 08:12:44 UTC
Permalink
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.
Post by Plamen Vasilev
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
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 doctrine-user+***@googlegroups.com.
To post to this group, send email to doctrine-***@googlegroups.com.
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.
Loading...