thekordy / ticketit

A simple helpdesk tickets system for Laravel 5.1+ which integrates smoothly with Laravel default users and auth system, demo is available at: http://ticketit.kordy.info/tickets
MIT License
875 stars 387 forks source link

Ticketit attempts to install after unrelated migrations #511

Closed ThistleApps closed 5 years ago

ThistleApps commented 5 years ago

I have already successfully installed and used Ticketit. Then I recently updated some unrelated models and ran migrations related to those new, unrelated models and now my users are directed to tickets-install despite Ticketit having already worked.

ThistleApps commented 5 years ago

Digging in a bit more I think Kordy is looking for specific migration names. Is that accurate? If so, how and were is that identified in the code?

thekordy commented 5 years ago

Right. It looks into ticketit/src/Migrations dir and checks if all migration files are migrated.

https://github.com/thekordy/ticketit/blob/0.2/src/Controllers/InstallController.php#L211