Skip to content

Commit

Permalink
Added longtext type to list of text types
Browse files Browse the repository at this point in the history
  • Loading branch information
d4nt committed Oct 13, 2019
1 parent cb9bb21 commit 4fcb2ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/NodeBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected bool IsNumberType(string colType)

protected bool IsTextType(string colType)
{
var quotedTypes = new List<string>() { "VARCHAR", "NVARCHAR", "CHAR", "NCHAR", "ENUM", "XML", "CHARACTER VARYING", "CHARACTER", "TEXT", "USER-DEFINED" };
var quotedTypes = new List<string>() { "VARCHAR", "NVARCHAR", "CHAR", "NCHAR", "ENUM", "XML", "CHARACTER VARYING", "CHARACTER", "TEXT", "USER-DEFINED", "LONGTEXT" };

switch (DatabaseType)
{
Expand Down
1 change: 1 addition & 0 deletions Web/Scripts/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ tools.IsTextType = function (theType) {
case "CHARACTER VARYING":
case "CHARACTER":
case "TEXT":
case "LONGTEXT":
case "USER-DEFINED": // Treat any user defined columns as text
return true;
default:
Expand Down

0 comments on commit 4fcb2ff

Please sign in to comment.