开发者

symfony : How to explode schema.yml as fixtures?

开发者 https://www.devze.com 2023-03-25 21:42 出处:网络
My model is a bit complicated and my schema.yml has many lines. So what I want is to explode schema in many files,开发者_C百科 in order to make it more readable.

My model is a bit complicated and my schema.yml has many lines. So what I want is to explode schema in many files,开发者_C百科 in order to make it more readable.

I know, it's possible with the fixtures and my question is : there is a way to do the same thing with schema.yml ?


Yes, you can just create multiple *.yml files, and their all read. You can even use references across files.

0

精彩评论

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