MDB2_Schema & MDB2 with TEXT fields
| From: | Christian Weiske | Date: | Fri, 28 Sep 2007 23:08:24 +0000 |
| Subject: | MDB2_Schema & MDB2 with TEXT fields | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-28007@lists.php.net to get a copy of this message | ||
Hello,
I use MDB2_Schema to dump a database schema into an XML file.
Loading back fails because of:
Column length too big for column 'information' (max = 21845); use BLOB or TEXT instead]
(SQL creation part was: "
information VARCHAR(65532) DEFAULT '' NOT
NULL)"
The original schema uses TEXT as column type, and the xml also contains "text" as type.
Why does MDB2 convert that to VARCHAR?
--
Mit freundlichen Grüßen/Regards,
Christian Weiske