DROP TABLE IF EXISTS passengers;

CREATE TABLE passengers (
    ID BIGINT PRIMARY KEY,
    `Name` VARCHAR (255) NOT NULL,
    Phone_number BIGINT UNIQUE NOT NULL,
    `Password` VARCHAR (255) NOT NULL,
    CHECK (ID REGEXP '^\\d{18}$'),
    CHECK (Phone_number REGEXP '^\\d{11}$')
);