开发者

symfony doctrine:generate-migrations-diff not creating version file

I already did some migrations with symfony 1.4, but for some reason, it's no longer working.

I have my OLD model, and i added a brand new table to my schema.yml.

When I write symfony doctrine:generate-migrations-diff i have the following ouput.

>> doctrine  generating migration diff
>> file+     C:\Users\MyUser\AppData\...\Temp/doctrine_schema_57991.yml
>> doctrine  Generated migration classes successfully from difference

Okay, that's great i have a copy of my schema.yml in 开发者_StackOverflow中文版my users temp file, but what i want is the version file to do the symfony doctrine:migrate so my database will be changed according to the schema.

Can someone help me doing this ?


Deleting my old version files solved the problem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜