Currently checkpoint only done for the simulator model (default by daily). However, when the simulator is killed, data stored in database will contains the future step of simulator model, thus break the integrity. We need to version the data.
Current ideas:
SQLite: Copy the database file when save simulator checkpoint.
Postgres: Remove all records in all tables that have been created (based on created_datetime) or modified (based on modified_datetime).
Currently checkpoint only done for the simulator model (default by daily). However, when the simulator is killed, data stored in database will contains the future step of simulator model, thus break the integrity. We need to version the data.
Current ideas:
created_datetime
) or modified (based onmodified_datetime
).