coalesce pk.IsPrimaryKey
This commit is contained in:
parent
98dfce2ae5
commit
ffabf8b26e
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ SELECT
|
|||
col.COLUMN_NAME AS "column.Name",
|
||||
col.IS_NULLABLE = "YES" AS "column.IsNullable",
|
||||
col.COLUMN_COMMENT AS "column.Comment",
|
||||
pk.IsPrimaryKey AS "column.IsPrimaryKey",
|
||||
COALESCE(pk.IsPrimaryKey, 0) AS "column.IsPrimaryKey",
|
||||
IF (col.COLUMN_TYPE = 'tinyint(1)',
|
||||
'boolean',
|
||||
IF (col.DATA_TYPE = 'enum',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue