Commits

Yury Shulaev committed 68e8697

disable setting NULL by default

  • Participants
  • Parent commits a797794

Comments (0)

Files changed (1)

js/wwwsqldesigner.js

 	this.data.type = 0;
 	this.data.size = "";
 	this.data.def = null;
-	this.data.nll = true;
+	this.data.nll = false;
 	this.data.ai = false;
 	this.data.comment = "";
 
 SQL.Row.prototype.load = function() { /* put data to expanded form */
 	this.dom.name.value = this.getTitle();
 	var def = this.data.def;
-	if (def === null) { def = "NULL"; }
 
 	this.dom.def.value = def;
 	this.dom.size.value = this.data.size;