Experience of using the Django ORM for Migration, Redesign and Implementation of a Database of MySQL Data to Postgre SQL
Journal: International Journal of Science and Research (IJSR) (Vol.10, No. 11)Publication Date: 2021-11-05
Authors : Ing. Beatriz Mercedes Carrasco Perez; M.C. Juan Ramos Ramos; Jose Juan Hernandez Mora; Ing. Miriam Curiel Arenas; M.C. Mar a Janai Sanchez Hernandez;
Page : 96-98
Keywords : Framework; Django; ORM; Migration; Persistence;
Abstract
Currently, the use of Frameworks helps developers to generate systems more easily, making use of a uniform, consistent and identifiable project structure. Using the ORM it is possible to abstract data from an existing database, regardless of the DBMS to be used. This publication describes the use of the Django Framework and its ORM for the generation of the structure of classes that allow to achieve persistence towards an existing database, identifying and applying the necessary process for the corresponding migration towards a model file in a project of Django, as well as the identification of migrations and the generation of the tables in a physical database in the PostgreSQL Management System.The migration solution proposed in this thesis was implemented as an application case in the Records Management System of the books of the Judicial Power of the State of Tlaxcala, whose information was initially stored in MySQL. The results show the initial database implemented in MySQL. Likewise, the database migration process is outlined, using the Django Framework ORM, including the reconfiguration of the database and the migration to the final physical storage.
Other Latest Articles
- An Observational Study of Seroprevalence of Hepatitis B, Hepatitis C and HIV (Human Immunodeficiency Virus) and Association of Risk Factors among Cataract Patients
- Incidence of Aflatoxins, Heavy Metals and Pesticide Residues Contamination in Imported and Locally Grown White Rice in Uganda
- Treatment with MgSo4 of Babes in Term with Serious Asphyxia at Birth
- Strategic Development of Housing and Communal Services in Russia
- National Law University Library Consortium: A Step towards Equal Opportunity
Last modified: 2022-02-15 18:49:35