Skip to content

Commit 0b7a5b4

Browse files
authored
Merge pull request #52 from xiangxiren/master
Unable to read comments for table
2 parents 856c07f + 483f229 commit 0b7a5b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SmartCode.Generator/Maps/Database-MySql.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<Statement Id="QueryTable">
55
SELECT
66
T.TABLE_NAME Name,
7-
( CASE WHEN T.TABLE_TYPE = 'VIEW' THEN 'V' ELSE 'T' END ) AS TypeName
7+
( CASE WHEN T.TABLE_TYPE = 'VIEW' THEN 'V' ELSE 'T' END ) AS TypeName,
8+
T.TABLE_COMMENT AS `Description`
89
FROM
910
Information_Schema.TABLES AS T
1011
WHERE

0 commit comments

Comments
 (0)