Denny Vrandecic has submitted this change and it was merged.
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, 11 insertions(+), 1 deletion(-)
Approvals:
Denny Vrandecic: Looks good to me, approved
jenkins-bot: Verified
diff --git a/QueryEngine/includes/SQLStore/Schema.php
b/QueryEngine/includes/SQLStore/Schema.php
index 9364b7f..52376d8 100644
--- a/QueryEngine/includes/SQLStore/Schema.php
+++ b/QueryEngine/includes/SQLStore/Schema.php
@@ -204,7 +204,17 @@
FieldDefinition::NOT_NULL,
FieldDefinition::NO_DEFAULT,
FieldDefinition::ATTRIB_UNSIGNED,
- FieldDefinition::INDEX
+ FieldDefinition::NO_INDEX
+ ),
+
+ // Internal subject id
+ new FieldDefinition(
+ 'subject_id',
+ FieldDefinition::TYPE_INTEGER,
+ FieldDefinition::NOT_NULL,
+ FieldDefinition::NO_DEFAULT,
+ FieldDefinition::ATTRIB_UNSIGNED,
+ FieldDefinition::NO_INDEX
),
// Internal property id
--
To view, visit https://gerrit.wikimedia.org/r/64071
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1fcd89ad6430cbe43a9069f4ffbecbbeb7a15587
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Denny Vrandecic <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits