summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2008-10-06 11:24:51 -0700
committerPixel <pixel@nobis-crew.org>2008-10-06 11:24:51 -0700
commit52032e9ffeaf7ec28f87220dcd3b76146b0c02a9 (patch)
treea53e97175713202409cedc8a22b5b4c26d4f2510
parent6483fe5b6bf025c5388d22699a3d423a6ace0f19 (diff)
Adding 'text' type.
-rw-r--r--lib/dblib.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dblib.lua b/lib/dblib.lua
index b361cd1..b3fc3ac 100644
--- a/lib/dblib.lua
+++ b/lib/dblib.lua
@@ -92,6 +92,8 @@ _luadb = {
return "DATETIME"
elseif ttype:upper() == "FLOAT" then
return "FLOAT"
+ elseif ttype:upper() == "TEXT" then
+ return "TEXT"
else
error("Unknow data type in ddl - " .. k .. ": " .. ttype:upper())
end