-- Create the customers table CREATE TABLE IF NOT EXISTS `customers` ( `id` INT AUTO_INCREMENT PRIMARY KEY, `first_name` VARCHAR(100) NOT NULL, `last_name` VARCHAR(100) NOT NULL, `email` VARCHAR(255) NOT NULL UNIQUE, `phone` VARCHAR(50) NULL, `password_hash` VARCHAR(255) NOT NULL, -- For storing hashed passwords `street_address` VARCHAR(255) NULL, `suburb` VARCHAR(100) NULL, `state` VARCHAR(50) NULL, `postcode` VARCHAR(20) NULL, `created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;