From: Aryeh Gregor Date: Tue, 27 Aug 2019 10:32:47 +0000 (+0300) Subject: Document that img_description_id is a comment id X-Git-Tag: 1.34.0-rc.0~535^2 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;ds=sidebyside;h=7b4249b6109b4d03aac2123e748a664df14c9586;p=lhc%2Fweb%2Fwiklou.git 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 --- 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,