Closed wvdvegt closed 4 years ago
Using PHP Version 7.3.11 and trying to do a fresh install of the prerelease i get the following error during database creation:
Error Number: 1005 Can't create table `easyappointments`.`ea_users` (errno: 150 "Foreign key constraint is incorrectly formed") ALTER TABLE `ea_users` ADD CONSTRAINT `ea_users_ibfk_1` FOREIGN KEY (`id_roles`) REFERENCES `ea_roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; Filename: C:/xampp/htdocs/easyappointments/vendor/codeigniter/framework/system/database/DB_driver.php Line Number: 691
Cause seems to be related to foreign key issues deleting the old tables (phpMyadmin needs to be instructed to ignore foreign keys during dropping the tables).
Using PHP Version 7.3.11 and trying to do a fresh install of the prerelease i get the following error during database creation: