From 7b4249b6109b4d03aac2123e748a664df14c9586 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Tue, 27 Aug 2019 13:32:47 +0300 Subject: [PATCH] Document that img_description_id is a comment id It took me a bit of time to figure this out, and it seems non-obvious, so I thought a comment would be appropriate. Change-Id: Ibe7220ed8f9355e3025c257057754eb4d72384b9 --- maintenance/tables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 254ed38757..df15abff3a 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -1173,7 +1173,7 @@ CREATE TABLE /*_*/image ( -- see https://www.iana.org/assignments/media-types/ img_minor_mime varbinary(100) NOT NULL default "unknown", - -- Description field as entered by the uploader. + -- Foreign key to comment table, which contains the description field as entered by the uploader. -- This is displayed in image upload history and logs. img_description_id bigint unsigned NOT NULL, -- 2.20.1