Xethron / migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
3.32k stars 588 forks source link

File put contents error. File not found #129

Open chilion opened 7 years ago

chilion commented 7 years ago

When I try to create migrations, everything works fine until it passes the questions about migrations table etc, I get the following:

[ErrorException]
file_put_contents(/private/var/www/thingie/database/migrations/2017_03_1
6_132153_create_thing_table.php): failed to open stream: No such file or
directory

How?

Xethron commented 7 years ago

Does the directory '/private/var/www/thingie/database/migrations/' exist? and is it writable?

chilion commented 7 years ago

Yes and Yes

hadrumkadhemkilani commented 5 years ago

i have the same problem in laravel 5.7 file_put_contents(C:\Users\kadhem\Documents\DBMigrations\migrationDb\database/migrations/2019_02_27_124348_create_dbo."allDns"_table.php): failed to open stream