intrip / laravel-authentication-acl

Laravel authentication and ACL admin panel package based on sentry
287 stars 110 forks source link

migration conflict warning #151

Open ashish64 opened 7 years ago

ashish64 commented 7 years ago

Here is my setup: OS: windows 10 XAMPP Version: 5.6.21 laravel 5.3.16 laravel authentication acl installation method "composer require jacopo/laravel-authentication-acl" at the end, it displays conflict between laravel's migration file and the package's migration file. The conflict reads as below: Warning: Ambiguous class resolution, "CreateUsersTable" was found in both "$baseDir . '/database/migrations/2014_10_12_000000_create_users_table.php" and "C:\xampp\htdocs\laravel 5.3.16\vendor/jacopo/laravel-authentication-acl/database\migrations\2014_02_19_095545_create_users_table.php", the first will be used. Warning: Ambiguous class resolution, "CreatePasswordResetsTable" was found in both "$baseDir . '/database/migrations/2014_10_12_100000_create_password_resets_table.php" and "C:\xampp\htdocs\laravel 5.3.16\vendor/jacopo/laravel-authentication-acl/database\migrations\2014_10_12_100000_create_password_resets_table.php", the first will be used.

Im playing around with it, i did a clean laravel install, removed the laravel's auth migration that comes with it and ran "composer require jacopo/laravel-authentication-acl", after that no conflict.

:)

ashish64 commented 7 years ago

update: As mentioned above, removing laravel's default migrations does the trick, but it is not ofcourse proper fix!