docker-compose up
http://localhost:5050
user: [email protected]
password: password
http://localhost:8081
server: mysql
user: admin
password: password
python3 src/window.py
- Create categories and goods tables in Postgres and Mysql
- Copy-paste model.py classes (update database URL) for Postgres and Mysql. You'll have something like: SqliteCategory/Good, PostgresCategory/Good, MysqlCategory/Good
- Export:
- delete goods, then categories from second db
- get categories and goods from first db
- create new instances of second db with values from first db
- Sqlite doesn't have Date field, but Postgres and Mysql do. I store dates in Mysql as UTC timestamp. This will be the only transformation.
- Write logs to console, use PEP8 codestyle.