I installed MyComponent and play with it a little. In short .. is great ... but I have some problems with custom DB tables.
For test I used schema from "doodles" example with different name. I successfuly created build.schema.php file to create DB table, but I didn't managed to insert it into myComponent.
I did the following .. for package name I used "uros":
1. under assets/mycomponents/uros/core/components/uros/model/schema I added uros.mysql.schema.xml
2. under assets/mycomponents/uros/_build/resolvers I updated uros.resolver.php and inserted following code inside case xPDOTransport::ACTION_INSTALL:
$modx =& $object->xpdo;
$modelPath = $modx->getOption('core_path').'components/uros/'.'model/';
$modx->addPackage('uros',$modelPath);
$manager = $modx->getManager();
$manager->createObjectContainer('uros');
3. choosed bootstrap in MyComponent Actions ..
4. choosed build in MyComponent Actions ..
5. copied created file uros-1.0.0-beta1.transport.zip under other modx installation and try to insall it
before I inserted that schema installation went fine .. now when i install it .. installation window pops up .. but doesn't give me any info and freeze there .. i need to refresh the manager to continue .. anyway package is installed but custom DB is not created
So my question is .. what I did wrong or what is the right way ? And another question .. why MyComponent creates me a file uros.resolver.php and in doodle example is resolve.tables.php instead of doodles.resolver.php? Do all files run inside resolvers folder?
Thanx for help