andersao / andersao/l5-repository

make:repository/entity namespace make directory for migration

未關閉
#440 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
PHP
星號
4.2k
分支
880
PR 合併指標
30 天內沒有已合併 PR

描述

Hi! when i use make:repository or make:entity command and set repository with namespacess like
Api/Public/SomeScope/SomeRepo migration for this repository make directory tree
- 2017_09_26_044722_create_api
- _public
- _some_scope
- _some_repos_table.php

default artisan:migrate command ignore folders in /database/migrations directory, so i need rename and move migration file for every entity with namespace and remove directory tree
mv 2017_09_26_044722_create_api/_public/_some_scope/_some_repos_table.php
2017_09_26_044722_create_api_public_some_scope_some_repos_table.php

rm -rf 2017_09_26_044722_create_api/_public/_some_scope

it isn't critical bug, but i spend time to move migration file.

P.S Thx for awesome lib, if i use it with deefour/interactor i can create DDD-like project simply, easy and fast.

pull request - https://github.com/andersao/l5-repository/pull/441

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。