aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/tables.json
diff options
context:
space:
mode:
authormainframe98 <k.s.werf@hotmail.com>2022-02-11 16:03:28 +0100
committerMainframe98 <k.s.werf@hotmail.com>2022-02-22 17:41:08 +0000
commitde0c4819d106c10a135387abbe5584952a2658bc (patch)
tree8840e45e0a6002419191fe71ab650f6eb73c876e /maintenance/tables.json
parentc85a2a8c24fa189ff28493478845306d2f903752 (diff)
downloadmediawikicore-de0c4819d106c10a135387abbe5584952a2658bc.tar.gz
mediawikicore-de0c4819d106c10a135387abbe5584952a2658bc.zip
Add validation for abstract schema
This adds an option to the schema generating maintenance scripts to validate abstract schemas and schema changes and a structure test to validate exisiting schemas and schema changes. Schemas are also validated when generating. The validation for the schema doesn't impose limits on table, index or column names as I couldn't find any reliable conventions for them. The structure tests only cover MediaWiki itself as there is no convention on where extensions store their abstract schema. Ideally, auto detection would be possible for sql/, but for now extensions have to define their own (thankfully trivial) tests. A couple of invalid definitions were fixed thanks to these tests. I aimed to be thorough, but not all parts of the abstract schema are completely clear, and Doctrine's documentation is not complete. As a result, not everything has a description field. Bug: T298320 Change-Id: I681d265317d4d1584869142ebb23d4098c06885f
Diffstat (limited to 'maintenance/tables.json')
-rw-r--r--maintenance/tables.json1
1 files changed, 0 insertions, 1 deletions
diff --git a/maintenance/tables.json b/maintenance/tables.json
index 34d27cc9dca0..8a4680671700 100644
--- a/maintenance/tables.json
+++ b/maintenance/tables.json
@@ -3699,7 +3699,6 @@
{
"name": "si_text",
"columns": [ "si_text" ],
- "fulltext": true,
"unique": false,
"flags": [
"fulltext"