SQL Error (1005): Can't create table (errno: -1)

601 views Asked by At

When I execute the table create I get the error: SQL Error (1005): Can't create table (errno: -1)

CREATE TABLE `employee_audit` (
      `employee_audit_id` int(11) NOT NULL AUTO_INCREMENT,
      `employee_id` varchar(10) NOT NULL,
      `employeeNumber` varchar(20) NOT NULL,
      `firstName` varchar(20) NOT NULL,
      `lastName` varchar(50) NOT NULL,
      `email` varchar(50) NOT NULL,
      `password` varchar(20) NOT NULL,
      `created_at` datetime DEFAULT NULL,
      `updated_at` datetime DEFAULT NULL,
      PRIMARY KEY (`employee_audit_id`)
    )
0

There are 0 answers