数据库增加postgresql支持,展示优化

This commit is contained in:
暮光:城中城
2021-01-06 22:32:12 +08:00
parent 6cb2d76bfb
commit e949570c1a
14 changed files with 141 additions and 22 deletions

View File

@@ -61,9 +61,7 @@
</el-table-column>
<el-table-column prop="type" label="类型" width="150"></el-table-column>
<el-table-column prop="length" label="长度" width="80"></el-table-column>
<el-table-column label="NULL" width="60">
<template slot-scope="scope">{{scope.row.nullable ? '允许' : '不允许'}}</template>
</el-table-column>
<el-table-column prop="nullable" label="空值" width="60"></el-table-column>
<el-table-column label="主键" width="50">
<template slot-scope="scope">{{scope.row.ispramary ? '是' : '否'}}</template>
</el-table-column>