oms-Notification/Admin/Install/db.json
Dennis Eichhorn d7dc0a6f88
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

87 lines
2.7 KiB
JSON

{
"notification": {
"name": "notification",
"fields": {
"notification_id": {
"name": "notification_id",
"type": "INT",
"null": false,
"primary": true,
"autoincrement": true
},
"notification_title": {
"name": "notification_title",
"type": "VARCHAR(255)",
"null": false
},
"notification_desc": {
"name": "notification_desc",
"type": "TEXT",
"null": false
},
"notification_desc_raw": {
"name": "notification_desc_raw",
"type": "TEXT",
"null": false
},
"notification_type": {
"name": "notification_type",
"type": "TINYINT",
"null": false
},
"notification_status": {
"name": "notification_status",
"type": "TINYINT",
"null": false
},
"notification_category": {
"name": "notification_category",
"type": "INT",
"null": false
},
"notification_element": {
"name": "notification_element",
"type": "INT",
"null": false
},
"notification_redirect": {
"name": "notification_redirect",
"type": "VARCHAR(255)",
"null": false
},
"notification_created_by": {
"name": "notification_created_by",
"type": "INT",
"null": false,
"foreignTable": "account",
"foreignKey": "account_id"
},
"notification_for": {
"name": "notification_for",
"type": "INT",
"null": false,
"foreignTable": "account",
"foreignKey": "account_id"
},
"notification_created_at": {
"name": "notification_created_at",
"type": "DATETIME",
"null": false
},
"notification_seen_at": {
"name": "notification_seen_at",
"type": "DATETIME",
"null": true,
"default": null
},
"notification_module": {
"name": "notification_module",
"type": "VARCHAR(190)",
"null": true,
"default": null,
"foreignTable": "module",
"foreignKey": "module_id"
}
}
}
}