PlannrCrm / laravel-fast-refresh-database

🚀 Refresh your test databases faster than you've ever seen before
MIT License
415 stars 18 forks source link

Delete Checksum Command #12

Closed fotrino closed 1 year ago

fotrino commented 1 year ago

This PR introduces a command to delete the checksum file & improve DX when running into issues with ParaTest Databases. Also closes #11.

TL;DR;

Running the command delete-checksum will check if the file exists using the method $this->getMigrationChecksumFile() & then proceed to delete it with an output message.

Changes

fotrino commented 1 year ago

Hi @Sammyjo20, in this PR I've updated the test case to be able to run composer test from the package directory & run 2 tests I've created to check if the feature works. I was checking Package Development Docs from Laravel & it states that when Orchestral Testbench its installed, you can test the package as if it was installed in a Laravel App.

hendrikheil commented 1 year ago

@Sammyjo20 I think this PR can be closed as #16 essentially provides a solution for the underlying issue?