Why did you make the changes (we will use this info to test)?
broken code in the guide creates bugs in real code
initial = True is for initial migration and shouldn't be used here.
reverse function allows jumping to different migrations without errors.
Testing suggestions
Visual check of the operations line indentation
Visual check of the initial = True
The below lines
# run the application
./scripts/buildrun.sh
the SDG model table should have data
./scripts/db.sh -c "select * from core_sdg;"
reverse the latest data migration (SDG
./scripts/migrate.sh data 0002
the SDG model table should be empty
./scripts/db.sh -c "select * from core_sdg;"
Old page with problem circled
<kbd>![alt-text](https://github.com/hackforla/peopledepot/assets/1160105/6de0f0d9-7661-46ae-9c01-595386271517)</kbd>
New page with changes circled
<kbd>![alt-text](https://github.com/hackforla/peopledepot/assets/1160105/c727b0d3-9a9b-46bd-bae6-085259fc842f)</kbd>
Fixes #313
What changes did you make?
code fixes for migration script
operations
line indentationinitial = True
Why did you make the changes (we will use this info to test)?
initial = True
is for initial migration and shouldn't be used here.Testing suggestions
operations
line indentationinitial = True
the SDG model table should have data
./scripts/db.sh -c "select * from core_sdg;"
reverse the latest data migration (SDG
./scripts/migrate.sh data 0002
the SDG model table should be empty
./scripts/db.sh -c "select * from core_sdg;"