xpdo icon indicating copy to clipboard operation
xpdo copied to clipboard

Comments support

Open rtripault opened this issue 11 years ago • 3 comments

Would be nice if we could use SQL comments on tables, columns & indexes, ie. (from MySQL documentation) :

ALTER TABLE t1 MODIFY col1 BIGINT UNSIGNED DEFAULT 1 COMMENT 'my column';

rtripault avatar Mar 11 '14 12:03 rtripault

Isn't that already possible by adding comment="foobar" to the field definitions? I think I've seen that somewhere, but not sure where..

Mark-H avatar Apr 01 '14 12:04 Mark-H

You can add those to the schema, but they do not currently get written to the database when the tables are created.

opengeek avatar Apr 01 '14 13:04 opengeek

I suggested this years ago. I would much rather see https://github.com/modxcms/xpdo/issues/29 implemented as it would save quite a bit of time for projects with a multiple tables - especially if they are extensive.

wshawn avatar Apr 01 '14 14:04 wshawn