Skip to content

Commit 4fcb2ff

Browse files
committed
Added longtext type to list of text types
1 parent cb9bb21 commit 4fcb2ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Engine/NodeBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected bool IsNumberType(string colType)
9191

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

9696
switch (DatabaseType)
9797
{

Web/Scripts/tools.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ tools.IsTextType = function (theType) {
367367
case "CHARACTER VARYING":
368368
case "CHARACTER":
369369
case "TEXT":
370+
case "LONGTEXT":
370371
case "USER-DEFINED": // Treat any user defined columns as text
371372
return true;
372373
default:

0 commit comments

Comments
 (0)