jenkins-bot has submitted this change and it was merged.

Change subject: Database: Make the target_url nullable for cx_translations table
......................................................................


Database: Make the target_url nullable for cx_translations table

Following alter query need to be executed

ALTER TABLE cx_translations
MODIFY translation_target_url text binary default null

Bug: T91365, T92364
Followup: I4cd9aa09bcac
Change-Id: I4b92ca30f92b0bd10241018bc1ce7221c13be3ee
---
M sql/contenttranslation.sql
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  KartikMistry: Looks good to me, but someone else must approve
  Nikerabbit: Looks good to me, approved
  Springle: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/sql/contenttranslation.sql b/sql/contenttranslation.sql
index 9e9bbb4..73fce44 100644
--- a/sql/contenttranslation.sql
+++ b/sql/contenttranslation.sql
@@ -21,7 +21,7 @@
     -- source of the page as full canonical url -- 
https://www.mediawiki.org/wiki/Help:CxIsPage
     translation_source_url text binary not null,
     -- link to the draft/published target
-    translation_target_url text binary not null,
+    translation_target_url text binary default null,
     -- Status of translation - Draft or published status.
     -- There is no final status. A published translation can be draft again to 
update again
     translation_status enum('draft', 'published') default null,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4b92ca30f92b0bd10241018bc1ce7221c13be3ee
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: KartikMistry <kartik.mis...@gmail.com>
Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com>
Gerrit-Reviewer: Springle <sprin...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to