106 lines
3.8 KiB
JSON
106 lines
3.8 KiB
JSON
{
|
|
"1": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "cms_page_revisions",
|
|
"columns": {
|
|
"revision_id": {
|
|
"name": "revision_id",
|
|
"type": "BIGINT",
|
|
"length": "20",
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": false,
|
|
"default": 0,
|
|
"comment": "ID Number",
|
|
"unsigned": true,
|
|
"auto_increment": true
|
|
},
|
|
"revision_date": {
|
|
"name": "revision_date",
|
|
"type": "INT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"auto_increment": false
|
|
},
|
|
"revision_member_id": {
|
|
"name": "revision_member_id",
|
|
"type": "BIGINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"auto_increment": false
|
|
},
|
|
"revision_page_id": {
|
|
"name": "revision_page_id",
|
|
"type": "BIGINT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": true,
|
|
"auto_increment": false
|
|
},
|
|
"revision_data": {
|
|
"name": "revision_data",
|
|
"type": "LONGTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"auto_increment": false
|
|
},
|
|
"revision_manual_save": {
|
|
"name": "revision_manual_save",
|
|
"type": "TINYINT",
|
|
"length": 1,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": false,
|
|
"default": 0,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"auto_increment": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"PRIMARY": {
|
|
"type": "primary",
|
|
"name": "PRIMARY",
|
|
"columns": [
|
|
"revision_id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
},
|
|
"revision_page_id": {
|
|
"type": "key",
|
|
"name": "revision_page_id",
|
|
"columns": [
|
|
"revision_page_id"
|
|
],
|
|
"length": [
|
|
null
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |