◄ ► | Edit | Home | Admin | en de fr et | Sign in

#2294 (dump2py could also write a compare.py (not only restore.py))

by Luc Saffre · in Hosting (system administration)

Summary

The compare.py file would also execute all the generated "data" files, but its "loader" is not a loader, and the create_x_y methods of that loader don't "create" rows, they just compare them to the current database content. And the result would be a report of changes in the database compared to that snapshot. That report shows per model one line with the # of added, changed and deleted records.

Children

Comments