I'm trying to use the "Schema Comparer" utility on Toad for MySQL 7.5.0.966. We have several fields (varchar not null) with default '' (empty) but the generated script doesn't contains the "default" part in this fields. My statament: Create table ecleticaloja.teste (id int(11) not null primary key, descricao varchar(100) not null default ''); Script by Toad: CREATE TABLE `ecleticaloja`.`teste` ( `id` int(11) NOT NULL, `descricao` varchar(100) NOT NULL, PRIMARY KEY ( `id` ) ) ENGINE = InnoDB CHARACTER SET = latin1 ROW_FORMAT = COMPACT; How can I fix this?
↧