-- +migrate Up
CREATE TABLE `drivers`(
    `iD` INT PRIMARY KEY AUTO_INCREMENT,
    `first_name` VARCHAR(191),
    `last_name` VARCHAR(191),
    `phone_number` VARCHAR(191) NOT NULL  UNIQUE ,
    `national_code` VARCHAR(191) UNIQUE ,
    `license_number` VARCHAR(191) UNIQUE ,
    `birth_date`    TIMESTAMP,

    `created_at`    TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `updated_at`    TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP

);


-- +migrate Down
DROP TABLE `drivers`;