If migration folder doesn't exist in phar binary#456
Conversation
When you create a phar if you don't include a migration file the folder is not included in your distribution binary, this cause an error when you run the `migration` command
|
@nunomaduro, what are your thoughts on this? Seems fine to me. The alternative is just making sure that the |
|
Yes, my case is I'm using the dump command to generate the SQL file with all the schema and I want to use that SQL as base and create migration files out of the phar file. As you mention to include the migration folder in the phar file I need migrations |
|
This problem is very relevant, especially if you intentionally do not use migrations, but use an existing database. Could you consider this PR? |
When you create a phar if you don't include a migration file the folder is not included in your distribution binary, this cause an error when you run the
migrationcommand