Thanks for suggesting those two packages, but I guess those won’t work since we want to add some migx configs insides those additional fields. (e.g. downloads)
<?xml version="1.0" encoding="UTF-8"?>
<model package="ahs" baseClass="xPDOObject" platform="mysql" defaultEngine="InnoDB" phpdoc-package="" phpdoc-subpackage="" version="1.1">
<object class="ahsUser" table="ahs_users" extends="xPDOSimpleObject">
<field key="user_id" dbtype="int" precision="10" attributes="unsigned" phptype="integer" null="false" default="0" />
<field key="title" dbtype="varchar" phptype="string" precision="255" null="false" default="" />
<field key="description" dbtype="text" phptype="string" null="false" default="" />
<field key="downloads" dbtype="text" phptype="string" null="false" default="" />
<aggregate alias="User" class="modUser" local="user_id" foreign="id" cardinality="one" owner="foreign" />
<index alias="user_id" name="user_id" primary="false" unique="false" type="BTREE">
<column key="user_id" length="" collation="A" null="false" />
</index>
</object>
</model>
{
"formtabs":"",
"contextmenus":"",
"actionbuttons":"",
"columnbuttons":"",
"filters":"",
"extended":{
"migx_add":"",
"disable_add_item":"",
"add_items_directly":"",
"formcaption":"",
"update_win_title":"",
"win_id":"",
"maxRecords":"",
"addNewItemAt":"bottom",
"media_source_id":"",
"multiple_formtabs":"",
"multiple_formtabs_label":"",
"multiple_formtabs_field":"",
"multiple_formtabs_optionstext":"",
"multiple_formtabs_optionsvalue":"",
"actionbuttonsperrow":4,
"winbuttonslist":"",
"extrahandlers":"",
"filtersperrow":4,
"packageName":"",
"classname":"modUser",
"task":"",
"getlistsort":"",
"getlistsortdir":"",
"sortconfig":"",
"gridpagesize":"",
"use_custom_prefix":"0",
"prefix":"",
"grid":"",
"gridload_mode":1,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"yes",
"getlistwhere":"",
"joins":[
{
"alias":"Ahs",
"classname":"ahsUser",
"on":"modUser.id = ahsUser.user_id"
}
],
"hooksnippets":"",
"cmpmaincaption":"",
"cmptabcaption":"",
"cmptabdescription":"",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"permissions":{
"apiaccess":"",
"view":"",
"list":"",
"save":"",
"create":"",
"remove":"",
"delete":"",
"publish":"",
"unpublish":"",
"viewdeleted":"",
"viewunpublished":""
},
"fieldpermissions":"",
"columns":[
{
"MIGX_id":2,
"dataIndex":"id",
"header":"id"
},
{
"MIGX_id":3,
"dataIndex":"username",
"header":"username"
},
{
"MIGX_id":5,
"dataIndex":"Ahs_title",
"header":"Ahs_title"
}
],
"category":""
}