Migrating models, migrations, and tests from qt