206 lines
6.2 KiB
JSON
206 lines
6.2 KiB
JSON
{
|
|
"1": {
|
|
"method": "createTable",
|
|
"params": [
|
|
{
|
|
"name": "core_search_index_item_map",
|
|
"columns": {
|
|
"index_author_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "index_author_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"index_item_id": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "0",
|
|
"length": 10,
|
|
"name": "index_item_id",
|
|
"type": "INT",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
},
|
|
"index_class": {
|
|
"allow_null": false,
|
|
"auto_increment": false,
|
|
"binary": false,
|
|
"comment": "",
|
|
"decimals": null,
|
|
"default": "",
|
|
"length": 80,
|
|
"name": "index_class",
|
|
"type": "VARCHAR",
|
|
"unsigned": false,
|
|
"values": [],
|
|
"zerofill": false
|
|
}
|
|
},
|
|
"indexes": {
|
|
"search_map": {
|
|
"type": "unique",
|
|
"name": "search_map",
|
|
"length": [
|
|
null,
|
|
null,
|
|
null
|
|
],
|
|
"columns": [
|
|
"index_author_id",
|
|
"index_item_id",
|
|
"index_class"
|
|
]
|
|
}
|
|
},
|
|
"collation": "utf8mb4_unicode_ci"
|
|
}
|
|
]
|
|
},
|
|
"2": {
|
|
"method": "addColumn",
|
|
"params": [
|
|
"core_files_temp",
|
|
{
|
|
"name": "storage_extension",
|
|
"type": "VARCHAR",
|
|
"length": 100,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"3": {
|
|
"method": "update",
|
|
"params": [
|
|
"core_sys_conf_settings",
|
|
{
|
|
"conf_value": ""
|
|
},
|
|
"conf_key='furl_configuration' AND conf_value='null'"
|
|
]
|
|
},
|
|
"4": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_sys_lang",
|
|
"lang_short",
|
|
{
|
|
"name": "lang_short",
|
|
"type": "VARCHAR",
|
|
"length": 100,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"5": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_dev",
|
|
"working_version",
|
|
{
|
|
"name": "working_version",
|
|
"type": "VARCHAR",
|
|
"length": 32,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "10000",
|
|
"comment": "The version ID being worked on, which can be the string 'working'",
|
|
"unsigned": true,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"6": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_api_logs",
|
|
"response_output",
|
|
{
|
|
"name": "response_output",
|
|
"type": "MEDIUMTEXT",
|
|
"length": null,
|
|
"decimals": null,
|
|
"values": null,
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "The response output",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"7": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_attachments",
|
|
"attach_ext",
|
|
{
|
|
"name": "attach_ext",
|
|
"type": "VARCHAR",
|
|
"length": 250,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": false,
|
|
"default": "",
|
|
"comment": "",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
},
|
|
"8": {
|
|
"method": "changeColumn",
|
|
"params": [
|
|
"core_files_temp",
|
|
"contents",
|
|
{
|
|
"name": "contents",
|
|
"type": "TEXT",
|
|
"length": 0,
|
|
"decimals": null,
|
|
"values": [],
|
|
"allow_null": true,
|
|
"default": null,
|
|
"comment": "Path to file on disk",
|
|
"unsigned": false,
|
|
"zerofill": false,
|
|
"auto_increment": false,
|
|
"binary": false
|
|
}
|
|
]
|
|
}
|
|
} |