MDB: reverse engineer schema
| From: | Jeroen Houben | Date: | Thu, 20 Mar 2003 11:27:21 +0000 |
| Subject: | MDB: reverse engineer schema | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4329@lists.php.net to get a copy of this message | ||
Hi,
I just tried to reverse engineer my MySql DB structure and got some warnings:
Long (1)
Warnings
0 String[287] (There are 2 type choices in the table sections field urltarget (#1 is the default): choice #1: a:4:{s:4:"type";s:4:"text";s:7:"notnull";i:1;s:7:"default";s:5:"_self";s:6:"length";i:6;}choice #2: a:4:{s:4:"type";s:7:"integer";s:7:"notnull";i:1;s:7:"default";s:5:"_self";s:6:"length";i:6;})
1 String[283] (There are 2 type choices in the table permissions field perm (#1 is the default): choice #1: a:4:{s:4:"type";s:4:"text";s:7:"notnull";i:1;s:7:"default";s:4:"READ";s:6:"length";i:5;}choice #2: a:4:{s:4:"type";s:7:"integer";s:7:"notnull";i:1;s:7:"default";s:4:"READ";s:6:"length";i:5;})
2 String[238] (There are 2 type choices in the table docblobs field content (#1 is the default): choice #1: a:3:{s:4:"type";s:4:"blob";s:7:"notnull";i:1;s:7:"default";s:0:"";}choice #2: a:3:{s:4:"type";s:4:"text";s:7:"notnull";i:1;s:7:"default";s:0:"";})
It still dumps the DB structure nicely, but how can I chose a type and get an actual XML file out of this? Right now the file created is 0 bytes.
Thanks
Jeroen