镜像自地址
https://github.com/wikimedia/mediawiki-extensions-GrowthExperiments.git
已同步 2024-06-02 18:30:35 +08:00
5fa729735e
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
31 行
948 B
JSON
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" ]
|
|
}
|
|
]
|