oms-Profile/Admin/Install/db.json
Dennis Eichhorn 7760fe8307
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
fix permissions
2025-04-02 14:15:06 +00:00

201 lines
6.5 KiB
JSON

{
"profile_account": {
"name": "profile_account",
"fields": {
"profile_account_id": {
"name": "profile_account_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"profile_account_image": {
"name": "profile_account_image",
"type": "INT",
"default": null,
"null": true,
"foreignTable": "media",
"foreignKey": "media_id",
"annotations": {
"gdpr": true
}
},
"profile_account_gender": {
"name": "profile_account_gender",
"type": "INT",
"null": false
},
"profile_account_sex": {
"name": "profile_account_sex",
"type": "INT",
"null": false
},
"profile_account_birthday": {
"name": "profile_account_birthday",
"type": "DATETIME",
"default": null,
"null": true,
"annotations": {
"gdpr": true
}
},
"profile_account_account": {
"name": "profile_account_account",
"type": "INT",
"null": false,
"foreignTable": "account",
"foreignKey": "account_id"
}
}
},
"profile_contact": {
"name": "profile_contact",
"fields": {
"profile_contact_id": {
"name": "profile_contact_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"profile_contact_name1": {
"name": "profile_contact_name1",
"type": "VARCHAR(255)",
"null": false,
"annotations": {
"gdpr": true
}
},
"profile_contact_name2": {
"name": "profile_contact_name2",
"type": "VARCHAR(255)",
"null": false,
"annotations": {
"gdpr": true
}
},
"profile_contact_name3": {
"name": "profile_contact_name3",
"type": "VARCHAR(255)",
"null": false,
"annotations": {
"gdpr": true
}
},
"profile_contact_company": {
"name": "profile_contact_company",
"type": "VARCHAR(255)",
"null": false,
"annotations": {
"gdpr": true
}
},
"profile_contact_job": {
"name": "profile_contact_job",
"type": "VARCHAR(255)",
"null": false,
"annotations": {
"gdpr": true
}
},
"profile_contact_birthday": {
"name": "profile_contact_birthday",
"type": "DATETIME",
"default": null,
"null": true,
"annotations": {
"gdpr": true
}
},
"profile_contact_description": {
"name": "profile_contact_description",
"type": "TEXT",
"null": false
},
"profile_contact_image": {
"name": "profile_contact_image",
"type": "INT",
"default": null,
"null": true,
"foreignTable": "media",
"foreignKey": "media_id",
"annotations": {
"gdpr": true
}
},
"profile_contact_profile": {
"name": "profile_contact_profile",
"type": "INT",
"null": false,
"foreignTable": "profile_account",
"foreignKey": "profile_account_id"
}
}
},
"profile_contact_element": {
"name": "profile_contact_element",
"comment": "email, phone etc",
"fields": {
"profile_contact_element_id": {
"name": "profile_contact_element_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"profile_contact_element_type": {
"name": "profile_contact_element_type",
"type": "TINYINT",
"null": false
},
"profile_contact_element_subtype": {
"name": "profile_contact_element_subtype",
"type": "TINYINT",
"null": false
},
"profile_contact_element_order": {
"name": "profile_contact_element_order",
"type": "INT",
"null": false
},
"profile_contact_element_content": {
"name": "profile_contact_element_content",
"type": "VARCHAR(255)",
"null": false
},
"profile_contact_element_contact": {
"name": "profile_contact_element_contact",
"type": "INT",
"null": false,
"foreignTable": "profile_contact",
"foreignKey": "profile_contact_id"
}
}
},
"profile_contact_addressrel": {
"name": "profile_contact_addressrel",
"fields": {
"profile_contact_addressrel_id": {
"name": "profile_contact_addressrel_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"profile_contact_addressrel_contact": {
"name": "profile_contact_addressrel_contact",
"type": "INT",
"null": false,
"foreignTable": "profile_contact",
"foreignKey": "profile_contact_id"
},
"profile_contact_addressrel_address": {
"name": "profile_contact_addressrel_address",
"type": "INT",
"null": false,
"foreignTable": "address",
"foreignKey": "address_id"
}
}
}
}