To avoid a bloated init.sql file, we will start working with migration versions (I will rename and break up the previously made file changes).
Please include a summary of the changes and the related issue. Please also include relevant motivation, context, and images! If its a frontend ticket, screenshots are important, if its a backend ticket, please add pictures of relevant postman screenshots or console printouts.
Ensured that multiple migration files will be supported in docker
added docker rebuild command in makefile to allow for resetting of the DB only when schema or DB data changes
updated the pull request template
Fixed the test CI/CD pipeline to correctly initialize the database from the migrations folder not the init file
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. If they are unit tests, provide the file name the tests are in. If they are not unit tests, describe how you tested the change.
Tested in DataGrip to ensure correct tables and fields.
Some notes about migrations; migrations get run in alphabetical order, so versioning number as added is integral to ensuring the correct execution of table creation.
Checklist
[x] I have performed a self-review of my code
[x] I have reached out to another developer to review my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] New and existing unit tests pass locally with my changes
Description
To avoid a bloated init.sql file, we will start working with migration versions (I will rename and break up the previously made file changes).
Please include a summary of the changes and the related issue. Please also include relevant motivation, context, and images! If its a frontend ticket, screenshots are important, if its a backend ticket, please add pictures of relevant postman screenshots or console printouts.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. If they are unit tests, provide the file name the tests are in. If they are not unit tests, describe how you tested the change.
Tested in DataGrip to ensure correct tables and fields.
Some notes about migrations; migrations get run in alphabetical order, so versioning number as added is integral to ensuring the correct execution of table creation.
Checklist