andersao / andersao/l5-repository

make:repository/entity namespace make directory for migration

Open
#440 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
4.2k
Forks
880
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.