careen:简单SQL模式迁移,从未使用过

时间:2021-05-08 05:22:13
【文件属性】:
文件名称:careen:简单SQL模式迁移,从未使用过
文件大小:65KB
文件格式:ZIP
更新时间:2021-05-08 05:22:13
TypeScript 卡伦 SQL模式迁移。 而已。 没什么。 功能概述 应用原始SQL文件迁移。 在日记表中跟踪迁移应用和还原操作。 支持SQLite3和PostgreSQL。 安装 npm install careen npm install sqlite # or npm install pg 配置 Careen从其运行目录中的careen.js或careen.json中读取配置。 除迁移ID生成功能外,所有选项都可以在JSON中指定。 可以使用--config或-c选项指定备用配置文件。 客户 client : name :要使用的数据库客户端的名称。 config :传递给数据库客户端的连接配置。 journalTable :要写入迁移日志的表的名称。 默认schema_journal 。 SQLite3示例 { " client " : { " name " : " sql
【文件预览】:
careen-master
----.travis.yml(216B)
----bin()
--------careen.js(147B)
--------_careen.ts(558B)
----example()
--------sqlite3()
----declaration()
--------node.d.ts(59KB)
--------sinon.d.ts(4KB)
--------ramda.d.ts(4KB)
--------mocha.d.ts(4KB)
--------pg.d.ts(3KB)
--------test.d.ts(110B)
--------fs.async.d.ts(679B)
--------chalk.d.ts(2KB)
--------index.d.ts(297B)
--------sqlite3.d.ts(3KB)
--------bluebird.d.ts(7KB)
--------minimist.d.ts(545B)
--------mock-fs.d.ts(1004B)
----package.json(1KB)
----test()
--------client()
--------config()
--------command()
--------files.ts(13KB)
--------mocha.opts(28B)
--------format.ts(3KB)
--------runner.ts(20KB)
--------main.ts(3KB)
--------tsconfig.json(678B)
--------status.ts(4KB)
----.npmignore(9B)
----tsconfig.json(218B)
----.gitignore(41B)
----lib()
--------client()
--------config()
--------command()
--------files.ts(4KB)
--------format.ts(2KB)
--------runner.ts(5KB)
--------standard-error.ts(363B)
--------status.ts(2KB)
--------index.ts(151B)
----README.md(6KB)
----template()
--------down.sql(8B)
--------combined.sql(20B)
--------up.sql(6B)

网友评论