The MySQL SQL import tool does not understand the COMMENT keyword when it is applied to a table field. Comments can be added to table, fields, indexes etc. https://dev.mysql.com/doc/refman/8.0/en/create-table.html
Table comments are converted to DBML table Notes, so this SQL:
create table test (
id int primary key
)
comment="A test of comments when importing";
is converted to this DBML:
Table "test" {
"id" int [pk]
Note: 'A test of comments when importing'
}
but it refuses to import this SQL with a field comment:
create table test (
id int primary key comment 'This is the primary key'
);
I would expect the DMBL to look like this:
Table "test" {
"id" int [pk, note: 'This is the primary key']
}