awssat / laravel-sync-migration

Developer tool helps to sync migrations without refreshing the database
MIT License
108 stars 13 forks source link

updated for 5.8 #3

Closed abdumu closed 5 years ago

abdumu commented 5 years ago
BSN4 commented 5 years ago

@abdumu thank you 😍

vesper8 commented 2 years ago

Your preg_match condition here does not work. It does not stop variables such as $tableNames['permissions']

I changed it to simply if (strpos($name, '$') !== false) { and that is working