I'm generating migrations between different yaml schema files: i.e. running:
symfony doctrine:generate-migrations-diff
And the resulting migration file has a whole slew of changeColumn calls that weren't added in the last schema file change.
For example, if you run generate-migrations-diff without changing your schema file whatsoever, you should get an empty up() function. However, the function that results for me has a changeColumn call for virtually every table in my database.
Am i doing something wrong or is this a bug?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…