aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/postgres
diff options
context:
space:
mode:
authorAmir Sarabadani <Ladsgroup@gmail.com>2020-10-11 04:18:47 +0200
committerAmir Sarabadani <Ladsgroup@gmail.com>2020-11-01 21:14:53 +0100
commit1125167b8ddded1fc8c915595651dbf22e83fb85 (patch)
treec75f8662b9447f24666bf2caabcf5dd1db86b4c2 /maintenance/postgres
parentd67a988832ac423642b41f1c590a41be98277aa9 (diff)
downloadmediawikicore-1125167b8ddded1fc8c915595651dbf22e83fb85.tar.gz
mediawikicore-1125167b8ddded1fc8c915595651dbf22e83fb85.zip
Start generateSchemaChangeSql.php
Creating schema changes from abstract schema and even abstracting a schema change. Bug: T230420 Change-Id: If626e866642af820dd70c5f9b0fe7c6a951e0a25
Diffstat (limited to 'maintenance/postgres')
-rw-r--r--maintenance/postgres/archives/patch-drop-ct_tag.sql19
1 files changed, 10 insertions, 9 deletions
diff --git a/maintenance/postgres/archives/patch-drop-ct_tag.sql b/maintenance/postgres/archives/patch-drop-ct_tag.sql
index 99c2d2b1e9a4..fc4d7ff51db7 100644
--- a/maintenance/postgres/archives/patch-drop-ct_tag.sql
+++ b/maintenance/postgres/archives/patch-drop-ct_tag.sql
@@ -1,9 +1,10 @@
--- T185355
-ALTER TABLE /*_*/change_tag ALTER COLUMN ct_tag_id SET NOT NULL;
-
-DROP INDEX /*i*/change_tag_rc_tag_nonuniq;
-DROP INDEX /*i*/change_tag_log_tag_nonuniq;
-DROP INDEX /*i*/change_tag_rev_tag_nonuniq;
-DROP INDEX /*i*/change_tag_tag_id;
-
-ALTER TABLE /*_*/change_tag DROP COLUMN ct_tag;
+-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
+-- Source: maintenance/abstractSchemaChanges/patch-drop-ct_tag.json
+-- Do not modify this file directly.
+-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
+DROP INDEX change_tag_rc_tag_nonuniq;
+DROP INDEX change_tag_log_tag_nonuniq;
+DROP INDEX change_tag_rev_tag_nonuniq;
+DROP INDEX change_tag_tag_id;
+ALTER TABLE /*_*/change_tag
+DROP ct_tag; \ No newline at end of file