Skip to content

Coenni/DbConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DbConverter

is simple tool to migrate database from PostgreSQL to MySQL developed by me & teammate Tarlan.

It has three steps:
Firstly, it generates models from pg tables using sqlacodegen library and sqlalchemy technology.(Models generation)
In second step, with simple string replacing it arranges models suitable for MySQL and generates schema and tables from models.(DDL)
And finally in the last step, it moves data information from pg to mysql by selecting rows from mysql, and iterating cursor and row by row saving information in newly created mysql tables.(DML)

About

simple tool to migrate database from PostgreSQL to MySQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages