|
|
@ -891,7 +891,9 @@ class PGClient extends KnexClient { |
|
|
|
// column['unique'] = response.rows[i]['cst'].indexOf('UNIQUE') === -1 ? false : true;
|
|
|
|
// column['unique'] = response.rows[i]['cst'].indexOf('UNIQUE') === -1 ? false : true;
|
|
|
|
|
|
|
|
|
|
|
|
column.cdf = response.rows[i].cdf |
|
|
|
column.cdf = response.rows[i].cdf |
|
|
|
? response.rows[i].cdf.replace(/::[\w ]+$/, '').replace(/^'|'$/g, '') |
|
|
|
? response.rows[i].cdf |
|
|
|
|
|
|
|
.replace(/::[\w (),]+$/, '') |
|
|
|
|
|
|
|
.replace(/^'|'$/g, '') |
|
|
|
: response.rows[i].cdf; |
|
|
|
: response.rows[i].cdf; |
|
|
|
|
|
|
|
|
|
|
|
// todo : need to find column comment
|
|
|
|
// todo : need to find column comment
|
|
|
|