Is it necessary to manually specify "TYPE=MyISAM" when creating tables automatically?

When creating tables automatically in MySQL using PHP, it is not necessary to manually specify "TYPE=MyISAM" as it is deprecated. Instead, you can use "ENGINE=MyISAM" to specify the storage engine for the table. This will ensure that the table is created with the MyISAM storage engine.

$sql = "CREATE TABLE tablename (
    id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
    column1 VARCHAR(30) NOT NULL,
    column2 VARCHAR(30) NOT NULL
) ENGINE=MyISAM;";