mediawiki-extensions-Growth.../sql/growthexperiments_link_recommendations.json
Umherirrender 5fa729735e schema: Move all sql files to new sql folder
It is good practice to have a folder in the root for all sql files.
Also use the engine folder to store the patches and call the folder for
the json file "abstractSchemaChanges" as seen on other extensions

Change-Id: Iacf43b0e3c9027303ec81d535f2c61fc75a83a09
2022-06-17 17:39:36 +02:00

31 行
948 B
JSON

[
{
"name": "growthexperiments_link_recommendations",
"comment": "Recommended wikilinks to add to articles. Cache table for results from an external recommendation service which is too slow to use directly.",
"columns": [
{
"name": "gelr_page",
"comment": "The page the recommendations are for. Foreign key to page.page_id.",
"type": "integer",
"options": { "unsigned": true, "notnull": true }
},
{
"name": "gelr_revision",
"comment": "The revision the recommendations are for. Foreign key to revision.rev_id.",
"type": "integer",
"options": { "unsigned": true, "notnull": true }
},
{
"name": "gelr_data",
"comment": "Link recommendation data as an arbitrary JSON object.",
"type": "binary",
"options": { "length": 16777215, "notnull": true }
}
],
"indexes": [
{ "name": "gelr_page", "columns": [ "gelr_page" ], "unique": false }
],
"pk": [ "gelr_revision" ]
}
]