Laravel “Specified key was too long” error solution

For laravel 5.7 to 6.0 Steps to followed Go to App\Providers\AppServiceProvider.php. Add this to provider use Illuminate\Support\Facades\Schema; in top. Inside the Boot function Add this Schema::defaultStringLength(191); that all, Enjoy. https://stackoverflow.com/a/51039039/2132069

önce , admin tarafından

Cyberpanel foreign key hatası

Cyberpanelden bir user silerken şu hatayla karşılaşabiliriz: (1452, ‘Cannot add or update a child row: a foreign key constraint fails (`cyberpanel`.`domains`, CONSTRAINT `domains_admin_id_c9d09cb8_fk_loginSystem_administrator_id` FOREIGN KEY (`admin_id`) REFERENCES `loginSystem_administrator` (`id`))’) Hatadan da anlaşılacağı gibi bu bir foreign key hatası. Yani iki tablo arasındaki ilişkiden kaynaklanan bir hata. loginSystem_administrator.id kolonu domains.admin_id kolonuna Devamı…

önce , admin tarafından