<![CDATA[ write schema writes ALL tables, but not the right ones - My Forums]]> https://forums.modx.com/thread/?thread=77906 <![CDATA[Re: write schema writes ALL tables, but not the right ones]]> https://forums.modx.com/thread/77906/write-schema-writes-all-tables#dis-post-429822 rdaneeel Jul 13, 2012, 03:43 AM https://forums.modx.com/thread/77906/write-schema-writes-all-tables#dis-post-429822 <![CDATA[Re: write schema writes ALL tables, but not the right ones]]> https://forums.modx.com/thread/77906/write-schema-writes-all-tables#dis-post-429765 https://github.com/Bruno17/MIGX/commit/5f5f208f39ee23dc890a7c9008b86baf8f6c52d7]]> Bruno17 Jul 12, 2012, 02:49 PM https://forums.modx.com/thread/77906/write-schema-writes-all-tables#dis-post-429765 <![CDATA[write schema writes ALL tables, but not the right ones]]> https://forums.modx.com/thread/77906/write-schema-writes-all-tables#dis-post-429688
i'm trying to generate the schema from existing tables. the all have the prefix 'quiz_'. Usualy i do this with http://bobsguides.com/custom-db-tables.html but i assume MIGX can do this as well with its package manager. creating the schema from the tables instead of creating the tables from a schema.

First i created a package with name 'vcquiz';
then, choosing the tab 'Write Schema' and filling in the 'table-prefix' field i hit 'Write schema'.
then go to 'Xml schema' tab en load the schema to take a look at it.
now i see a truck load of tablenodes and field nodes.
Is it supposed to be that way? i was expecting only the nodes from my tables with the prefix.

Rdg

edit ----

I even don't see the custom tables that are in my Db]]>
rdaneeel Jul 12, 2012, 06:26 AM https://forums.modx.com/thread/77906/write-schema-writes-all-tables#dis-post-429688