1. 首页
  2. 数据库
  3. 其它
  4. schemalint:Lint数据库架构 源码

schemalint:Lint数据库架构 源码

上传者: 2021-04-25 10:30:53上传 ZIP文件 133.28KB 热度 8次
图式 在数据库架构上运行规则。 在阅读有关此想法的介绍。 与Postgres数据库一起使用。 这将给您这样的错误: public.actor.first_name: error prefer-text-to-varchar : Prefer text to varchar types 用法 安装方式: $ npm i -g schemalint 要运行,请确保您位于具有.schemalintrc.js配置文件的文件夹中,然后键入: $ schemalint 这是一个示例配置文件: module . exports = { connection : { host : 'localhost' , user : 'postgres' , password : 'postgres' , database : 'acme' , charset
下载地址
用户评论