sqlite-s3 icon indicating copy to clipboard operation
sqlite-s3 copied to clipboard

Laravel's `migrate:fresh` command not working

Open frans-slabbekoorn opened this issue 2 years ago • 1 comments

When running the php artisan migrate:fresh command in a laravel project, an error gets thrown (file_put_contents(): Unable to find the wrapper "s3" - did you forget to enable it when you configured PHP?) in the refreshDatabaseFile where the following line of code gets executed:

file_put_contents($this->connection->getDatabaseName(), '');

Can this method be overwritten by the package to handle the file upload correctly?

frans-slabbekoorn avatar Jan 09 '24 15:01 frans-slabbekoorn

Ohhh, interesting! 🤔

I'm not sure how to tackle this yet, I might be facing this soon so we'll see! (no promises)

mnapoli avatar Jan 09 '24 21:01 mnapoli