command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: May 19, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
axum.rs 数据迁移工具
本工具用于将 AXUM.RS 旧版的 PostgreSQL 数据迁移到新版的 MySQL。
环境变量
请在 .env
设置两个环境变量:
例如:
PG_DSN='host=127.0.0.1 port=25432 user=axum_rs password=axum_rs dbname=axum_rs sslmode=disable'
MYSQL_DSN='root:root@tcp(127.0.0.1:23306)/axum_rs?charset=utf8mb4&collation=utf8mb4_unicode_ci&loc=PRC&parseTime=true'
运行
go run main.go
FAQ
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.