| 90 | |
| 91 | == Tests For the migration == |
| 92 | == Links for the scrips == |
| 93 | I have made it the database migration in the form of the library , |
| 94 | |
| 95 | * This file contains all the functions for the actual migration [[br]] |
| 96 | https://github.com/anubhav929/Dbmigration-final-/blob/master/static/scripts/Database%20migration/migration_scripts.py |
| 97 | |
| 98 | |
| 99 | * This file contains all the functions that are used by the actual migration [[br]] |
| 100 | https://github.com/anubhav929/Dbmigration-final-/blob/master/static/scripts/Database%20migration/migration_helping_methods.py |
| 101 | |
| 102 | * Made the test general for all the migration cases , as in made a menu from which the selected one is tested [[br]] |
| 103 | https://github.com/anubhav929/Dbmigration-final-/blob/master/tests/dbmigration/TestMigration.py |
| 104 | |
| 105 | |
| 106 | * Also added the database schema comparison script to this library[[br]] |
| 107 | https://github.com/anubhav929/Dbmigration-final-/blob/master/static/scripts/Database%20migration/apps_db_comparison.py |
| 108 | |
| 109 | |
| 110 | * The tests for the app comparison are added in the tests folder , this folder also contains the new_model and old_model which are used by the test script to build two apps for coparison[[br]] |
| 111 | Test Folder : https://github.com/anubhav929/Dbmigration-final-/tree/master/tests/dbmigration |
| 112 | Test Scrpit : https://github.com/anubhav929/Dbmigration-final-/blob/master/tests/dbmigration/TestScript.p |
| 113 | |