Hello,

I want to add data to an existing database and neither fixtures nor
migrations seem like the right solution.

We have a white-label system and we need to publish data for each
label that we add (15+ entity types, 200+ entities for each label).
We have all this data in YAML format and are able to load it into our
dev environment using fixtures.  Now, what's the best way to get this
same data into the production database?

We've successfully added them in the postUp of migrations, but that
was unwieldy considering the amount of data.  Also, the data is
already in YAML format so putting it in a migration seems like
unnecessary work.

We tried using the symfony doctrine:data-load command in append mode,
but this failed due to dependencies/constraints with the data. On
loading a specific yml file, I get an "invalid row key" error, because
that key is defined in another yml file that is not a part of this
load.

Any ideas on a general method for adding this data to our production
environment?

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to