更新
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
//
|
||||
// go run ./cmd/migrator \
|
||||
// -src-type=mysql -src-host=127.0.0.1 -src-hostport=3306 \
|
||||
// -src-database=easygoadmin.goframe.elevue -src-username=root -src-password=root \
|
||||
// -src-database=easygoadmin.goframe.antdvue -src-username=root -src-password=root \
|
||||
// -dst-type=pgsql -dst-host=127.0.0.1 -dst-hostport=5432 \
|
||||
// -dst-database=easygoadmin.goframe.elevue -dst-username=postgres -dst-password=123456 \
|
||||
// -dst-database=easygoadmin.goframe.antdvue -dst-username=postgres -dst-password=123456 \
|
||||
// -drop-target-first
|
||||
//
|
||||
// 可选:-tables "goframe_user,goframe_level"(只迁指定表)、-batch-size=1000(数据批大小)
|
||||
|
||||
Reference in New Issue
Block a user