Jeroen De Dauw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/64071


Change subject: Add subject_id field to all property snak tables
......................................................................

Add subject_id field to all property snak tables

Change-Id: I1fcd89ad6430cbe43a9069f4ffbecbbeb7a15587
---
M QueryEngine/includes/SQLStore/Schema.php
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/71/64071/1

diff --git a/QueryEngine/includes/SQLStore/Schema.php 
b/QueryEngine/includes/SQLStore/Schema.php
index 9364b7f..e7606fc 100644
--- a/QueryEngine/includes/SQLStore/Schema.php
+++ b/QueryEngine/includes/SQLStore/Schema.php
@@ -207,6 +207,16 @@
                                FieldDefinition::INDEX
                        ),
 
+                       // Internal subject id
+                       new FieldDefinition(
+                               'subject_id',
+                               FieldDefinition::TYPE_INTEGER,
+                               FieldDefinition::NOT_NULL,
+                               FieldDefinition::NO_DEFAULT,
+                               FieldDefinition::ATTRIB_UNSIGNED,
+                               FieldDefinition::INDEX
+                       ),
+
                        // Internal property id
                        new FieldDefinition(
                                'property_id',

-- 
To view, visit https://gerrit.wikimedia.org/r/64071
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1fcd89ad6430cbe43a9069f4ffbecbbeb7a15587
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to