{ "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_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_company_job": { "name": "profile_contact_company_job", "type": "VARCHAR(255)", "null": false, "annotations": { "gdpr": true } }, "profile_contact_address": { "name": "profile_contact_address", "type": "VARCHAR(255)", "null": false, "annotations": { "gdpr": true } }, "profile_contact_website": { "name": "profile_contact_website", "type": "VARCHAR(255)", "null": false }, "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_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_address": { "name": "profile_contact_address", "fields": { "profile_contact_address_id": { "name": "profile_contact_address_id", "type": "INT", "null": false, "primary": true, "autoincrement": true }, "profile_contact_address_type": { "name": "profile_contact_address_type", "type": "TINYINT", "null": false }, "profile_contact_address_contact": { "name": "profile_contact_address_contact", "type": "INT", "null": false, "foreignTable": "profile_contact", "foreignKey": "profile_contact_id" }, "profile_contact_address_address": { "name": "profile_contact_address_address", "type": "INT", "null": false, "foreignTable": "address", "foreignKey": "address_id" } } }, "profile_contactelement": { "name": "profile_contactelement", "comment": "email, phone etc for profiles", "fields": { "profile_contactelement_id": { "name": "profile_contactelement_id", "type": "INT", "null": false, "primary": true, "autoincrement": true }, "profile_contactelement_type": { "name": "profile_contactelement_type", "type": "TINYINT", "null": false }, "profile_contactelement_subtype": { "name": "profile_contactelement_subtype", "type": "TINYINT", "null": false }, "profile_contactelement_content": { "name": "profile_contactelement_content", "type": "VARCHAR(255)", "null": false }, "profile_contactelement_contact": { "name": "profile_contactelement_contact", "type": "INT", "null": false, "foreignTable": "profile_account", "foreignKey": "profile_account_id" } } }, "profile_address": { "name": "profile_address", "fields": { "profile_address_id": { "name": "profile_address_id", "type": "INT", "null": false, "primary": true, "autoincrement": true }, "profile_address_type": { "name": "profile_address_type", "type": "TINYINT", "null": false }, "profile_address_profile": { "name": "profile_address_profile", "type": "INT", "null": false, "foreignTable": "profile_account", "foreignKey": "profile_account_id" }, "profile_address_address": { "name": "profile_address_address", "type": "INT", "null": false, "foreignTable": "address", "foreignKey": "address_id" } } } }