import { h } from 'vue';
import { ElTag } from 'element-plus';

export const columns = [
  {
    type: 'selection',
  },
  {
    label: '数据表名称',
    prop: 'tableName',
    width: 150,
  },
  {
    label: '数据表描述',
    prop: 'tableComment',
    width: 150,
  },
  {
    label: '数据表引擎',
    prop: 'engine',
    width: 100,
  },
  {
    label: '数据表行数',
    prop: 'tableRows',
    width: 100,
  },
  {
    label: '数据表长度',
    prop: 'dataLength',
    width: 100,
  },
  {
    label: '数据表自增索引',
    prop: 'autoIncrement',
    width: 150,
  },
  {
    label: '数据表编码',
    prop: 'tableCollation',
    width: 150,
  },
  {
    label: '创建时间',
    prop: 'createTime',
    width: 180,
  },
];
