Open zaidpirwani opened 2 months ago
commenting the following lines results in permissions migrations going smoothly
// app('cache')
// ->store(config('permission.cache.store') != 'default' ? config('permission.cache.store') : null)
// ->forget(config('permission.cache.key'));
Hello,
When I clone my project to a new dev machine and run migrations (fresh, no database)
I get error on create_permissions_table migration file
I tried to reproduce it with a new laravel / filament / filament shield project - the error came up once and then didnt - I was trying migration again and again with new db etc.
I am using Ubuntu 24.04 on WSL on Windows 11 I have tried both sqlite and mysql databases
If I dont run create_permissions_table migration and run everything else and THEN run create_permissions_table migration it works and no error is thrown.
in this case, the refresh migrate also works - once if the create_permissions_table works, then if I refresh - it works again
I will try to give proper reproduction steps, but if there is anything I can do to fix this, would be great - its an inconvinience, as I can still run it - just that doesnt work on first run and need to rename create_permissions_table migration, then run all my migrations first and then run the create_permissions_table later after renaming it back