Closed lee-van-oetz closed 3 months ago
Hi @lee-van-oetz,
Thanks for your PR. The code is actually correct: The facade inherits methods like dropView()
from the laravel-migration-views
package. IDEs could originally show these inherited methods but don't anymore after I had to refactor the facade. I'll document these methods again.
The code snippet uses the Staudenmeir\LaravelMergedRelations\Facades\Schema
facade to show that you don't need to import two different Schema
facades in your migration.
Hi @staudenmeir, you're absolutely correct, IDE was lying to me :). Thanks for explaining!
Staudenmeir\LaravelMergedRelations\Facades\Schema
doesn't seem to have ::drop() method and text points to views package as well. I assumeStaudenmeir\LaravelMigrationViews\Facades\Schema
was intended.