octav
octav

Reputation: 51

Insert predefined rows with doctrine

I am using Doctrine ORM and I want to insert some rows when I update the current schema.

Which is the best way to achieve that?

Upvotes: 0

Views: 204

Answers (1)

Arthur
Arthur

Reputation: 2889

You can use DoctrineFixturesBundle for load initial or test data

Fixtures are used to load a controlled set of data into a database.

Upvotes: 2

Related Questions