Bug #39151 Columns name or dataType must be mandatory

Submitted: 1 Sep 2008 7:53 Modified: 1 Sep 2008 12:07
Reporter: Lorenzo Luconi Trombacchi Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:5.0.24 OS:Any
Assigned to: CPU Architecture:Any

[1 Sep 2008 7:53] Lorenzo Luconi Trombacchi
Description:
At present you can create a column without a dataType or create a column and rename it to an empty name!

Export create sql script results for an unnamed column:

CREATE  TABLE IF NOT EXISTS `mydb`.`table1` (
  `idtable1` INT NOT NULL ,
  `` VARCHAR(45) NULL ,
  PRIMARY KEY (`idtable1`)
) ENGINE = InnoDB;

Export create sql script results for a column without datatype:
CREATE  TABLE IF NOT EXISTS `mydb`.`table1` (
  `idtable1` INT NOT NULL ,
  `a`  NULL ,
  PRIMARY KEY (`idtable1`) )
ENGINE = InnoDB;

How to repeat:
See description
[1 Sep 2008 11:44] Johannes Taxacher
this is expected behaviour. users may want to design models without specifying datatypes (first, or at all).
SE version features a validation plugin that warns users on export/sync about left blank datatypes (in OSS user has to take care of that himeslf)
[1 Sep 2008 12:07] Lorenzo Luconi Trombacchi
Thank you for you answer.

Ok for datatype, I take care of missing datatypes myself. If is it an expected behaviour, how can unset a datatype for a column?

What about renamed to blank column name?
The validation is a feature of SE version, but at least the name of the column should be mandatory I think :-))

Lorenzo

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.