summaryrefslogtreecommitdiff
path: root/www/wiki/maintenance/mssql/archives/patch-image-img_description_id.sql
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/maintenance/mssql/archives/patch-image-img_description_id.sql')
-rw-r--r--www/wiki/maintenance/mssql/archives/patch-image-img_description_id.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/wiki/maintenance/mssql/archives/patch-image-img_description_id.sql b/www/wiki/maintenance/mssql/archives/patch-image-img_description_id.sql
new file mode 100644
index 00000000..bc51b529
--- /dev/null
+++ b/www/wiki/maintenance/mssql/archives/patch-image-img_description_id.sql
@@ -0,0 +1,6 @@
+--
+-- patch-image-img_description_id.sql
+--
+-- T188132. Add `img_description_id` to the `image` table.
+
+ALTER TABLE /*_*/image ADD img_description_id bigint NOT NULL CONSTRAINT DF_img_description_id DEFAULT 0 CONSTRAINT FK_img_description_id FOREIGN KEY REFERENCES /*_*/comment(comment_id);