Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

349
Views
Symfony 3/Doctrine - populate table with some rows while creating table schema

I want to fill a database table as soon as it is created first time, may be with running the following command:

php bin/console doctrine:schema:update --force --em=some_connection

Basically, this will be a static table with some static data. I need to do this in that way because the database will be created dynamically. So cannot populate that by hard coding.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

With datafixturesBundle .

It's really easy to implement just follow the tutorials and if you find problems just ask me .

http://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!