Questions tagged [doctrine-migrations]

Anything related with Doctrine migrations for Symfony and DoctrineMigrationsBundle library

Doctrine migrations for Symfony are maintained in the DoctrineMigrationsBundle.

The database migrations feature is an extension of the database abstraction layer and offers you the ability to programmatically deploy new versions of your database schema in a safe, easy and standardized way.

139 questions
-1
votes
1 answer

doctrine name convertions configuration

How can I configure doctrine to convert for example /** * @var UuidInterface * @ORM\Column(type="uuid", unique=true) */ private $locationId; to database column with name location_id, for some reason it creating name like locationid when I'm…
Bogdan Dubyk
  • 4,756
  • 7
  • 30
  • 67
-1
votes
1 answer

Doctrine, how to make 1 migration out of two you just made locally?

So I'm messing around locally and made two migrations with the second having really very minor changes on top of the first one. We agreed as a team, when working on an issue, to keep migrations minimal. So I would like to make one out of these two,…
user8678484
-1
votes
1 answer

Doctrine Migrations: versioning auto-generated classes

I was wondering wether it is a good practice or not to add the auto-generated classes from doctrine migrations to your version control system ? What would be the advantages/disadvantages of doing so ? Thanks for your answers
-2
votes
1 answer

Composer - Install github fork/branch

Why composer cant install branch from https://github.com/wimvds/DoctrineMigrationsBundle/tree/feature/multiple-em-support ? My composer.json: "repositories": [ { "type":"package", "package": { "name":…
1 2 3
9
10