forked from mmatuson/SchemaSync
-
Notifications
You must be signed in to change notification settings - Fork 0
A MySQL Schema Versioning and Migration Utility
License
alexlausz/MySchemaSync
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Fork自https://github.com/mmatuson/SchemaSync 基于个人需要做了如下修改,请谨慎使用: 1、支持python 3.8.10 2、将主要依赖库schemaobject直接放在了项目中,import路径相应修改 3、支持指定表(多张表以逗号分隔)进行比对 4、输出的sql脚本文件名按需要进行了修改 5、因测试项目不适用于新的mysql版本,删除了原项目中test目录 使用示例: python schemasync.py mysql:https://<user>:<password>@<src_ip>:<port>/<database_name> mysql:https://<user>:<password>@<target_ip>:<port>/<database_name> python schemasync.py --tables table_1,table_2 mysql:https://<user>:<password>@<src_ip>:<port>/<database_name> mysql:https://<user>:<password>@<target_ip>:<port>/<database_name> 更多细节请参考原项目readme文件
About
A MySQL Schema Versioning and Migration Utility
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%