Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Conversation

studnitz
Copy link
Contributor

@studnitz studnitz commented Jun 2, 2021

#152 added methods to enable and disable PostGIS only if it exists.

This PR removes the need manually create a migration file by already defining it as publishable migration. So all you have to do now is:

php artisan vendor:publish --provider="MStaack\LaravelPostgis\DatabaseServiceProvider" --tag="migrations"

And then you run:

php artisan migrate

And voilá you're done. :)

I also updated the README.md to reflect the easier setup.

@mstaack mstaack merged commit 1726acd into mstaack:master Jan 12, 2022
@studnitz studnitz deleted the add-publishable-migrations branch January 13, 2022 09:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants