PostgreSQL迁移工具-Golang开发

时间:2021-05-26 19:11:59
【文件属性】:
文件名称:PostgreSQL迁移工具-Golang开发
文件大小:53KB
文件格式:ZIP
更新时间:2021-05-26 19:11:59
Golang Database Drivers 以数据库为中心的工具,用于对PostgreSQL数据库运行迁移。 pg-mig以数据库为中心的工具,用于对PostgreSQL数据库运行迁移。 该工具在某种程度上类似于git,但适用于数据库。 每个数据库状态都描述为一系列修订(称为迁移)。 因此,它允许用户在这些修订之间进行更改(类似于在git中签出先前的提交)。 它被编译为可执行文件,不需要任何运行时环境。 迁移是通过创建时间戳来标识的,并且已应用的迁移的当前状态存储在数据中
【文件预览】:
pg-mig-master
----.gitignore(328B)
----timer()
--------timer.go(991B)
--------timer_test.go(1KB)
----README.md(8KB)
----.github()
--------workflows()
--------ISSUE_TEMPLATE()
----examples()
--------db()
--------docker-compose.yml(285B)
----LICENSE(1KB)
----go.mod(358B)
----filesystem()
--------types.go(743B)
--------config.go(2KB)
--------actions.go(7KB)
--------migration_file_test.go(629B)
--------actions_test.go(8KB)
--------config_test.go(4KB)
--------migration_file.go(665B)
----CONTRIBUTING.md(4KB)
----models()
--------models_test.go(8KB)
--------types.go(771B)
--------utils.go(391B)
--------queries.go(203B)
--------models.go(4KB)
--------mocks_test.go(3KB)
----CODE_OF_CONDUCT.md(3KB)
----Taskfile.yml(302B)
----go.sum(16KB)
----subcommands()
--------runner_test.go(5KB)
--------types.go(658B)
--------initialize_test.go(1KB)
--------log_test.go(3KB)
--------run_test.go(15KB)
--------add.go(1KB)
--------log.go(2KB)
--------squash_test.go(4KB)
--------squash.go(2KB)
--------runner.go(4KB)
--------printer.go(2KB)
--------initialize.go(268B)
--------run.go(5KB)
--------mocks_test.go(3KB)
--------add_test.go(2KB)
--------help.go(656B)
----cmd()
--------pg-mig()

网友评论