Giter VIP home page Giter VIP logo

data-dictionary's Introduction

数据库字典数据生成工具

点此查看golang版本

数据库支持情况

  • MySql
  • Oracle
  • SQLite

拉取源码在开发工具运行

  1. 拉取项目代码
    git clone [email protected]:sudot/data-dictionary.git
    
  2. 修改文件src/main/resources/in-parameter.txt相关信息
  3. 运行net.sudot.excel.datadictionary.Appcation类的main方法

使用编译包运行

  1. 点此下载运行包
  2. 解压后修改文件in-parameter.txt
  3. 双击解压后的run.bat脚本即可生成数据字典

结果预览

image

示例表结构

DROP TABLE IF EXISTS `table_name_01`;
CREATE TABLE `table_name_01` (
`id`  bigint NOT NULL AUTO_INCREMENT COMMENT '主键' ,
`name`  varchar(255) NULL COMMENT '姓名' ,
`memo`  varchar(255) NULL COMMENT '演示一个有很长很长的备注字段。假设有一个性别字段值和释义的映射为->1:男性,0:女性' ,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT='测试表-01'
;

DROP TABLE IF EXISTS `table_name_02`;
CREATE TABLE `table_name_02` (
`id`  bigint NOT NULL AUTO_INCREMENT COMMENT '主键' ,
`name`  varchar(255) NULL COMMENT '姓名' ,
`memo`  varchar(255) NULL COMMENT '演示一个有很长很长的备注字段。假设有一个性别字段值和释义的映射为->1:男性,0:女性' ,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT='测试表-02'
;

DROP TABLE IF EXISTS `table_name_03`;
CREATE TABLE `table_name_03` (
`id`  bigint NOT NULL AUTO_INCREMENT COMMENT '主键' ,
`name`  varchar(255) NULL COMMENT '姓名' ,
`memo`  varchar(255) NULL COMMENT '演示一个有很长很长的备注字段。假设有一个性别字段值和释义的映射为->1:男性,0:女性' ,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT='测试表-03'
;

DROP TABLE IF EXISTS `table_name_04`;
CREATE TABLE `table_name_04` (
`id`  bigint NOT NULL AUTO_INCREMENT COMMENT '主键' ,
`name`  varchar(255) NULL COMMENT '姓名' ,
`memo`  varchar(255) NULL COMMENT '演示一个有很长很长的备注字段。假设有一个性别字段值和释义的映射为->1:男性,0:女性' ,
PRIMARY KEY (`id`)
) ENGINE = InnoDB COMMENT='测试表-04'
;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.