From 52032e9ffeaf7ec28f87220dcd3b76146b0c02a9 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 6 Oct 2008 11:24:51 -0700 Subject: Adding 'text' type. --- lib/dblib.lua | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3