Quantcast
Channel: Toad for MySQL
Viewing all articles
Browse latest Browse all 1315

Forum Post: Default '' is not recognized in the Schema Comparer

$
0
0
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?

Viewing all articles
Browse latest Browse all 1315

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>