|
Lightweight 0.20261031.0
|
#include <SqlMigration.hpp>
Public Attributes | |
| bool | required = false |
| Whether anything demands a backup. | |
| std::vector< std::string > | reasons |
What demands it: release <version>, migration <timestamp> "<title>" and step "<title>", in that order. | |
| bool | satisfied = true |
| Whether nothing is required or the newest backup or restore record covers the database's current state. | |
| std::optional< BackupRecord > | lastBackup |
The newest backup or restore record; waived records are skipped. | |
Whether the work a command will run needs a backup, and whether a recorded one satisfies it.
Definition at line 288 of file SqlMigration.hpp.
| bool Lightweight::SqlMigration::BackupRequirement::required = false |
Whether anything demands a backup.
Definition at line 291 of file SqlMigration.hpp.
| std::vector<std::string> Lightweight::SqlMigration::BackupRequirement::reasons |
What demands it: release <version>, migration <timestamp> "<title>" and step "<title>", in that order.
Definition at line 293 of file SqlMigration.hpp.
| bool Lightweight::SqlMigration::BackupRequirement::satisfied = true |
Whether nothing is required or the newest backup or restore record covers the database's current state.
Definition at line 295 of file SqlMigration.hpp.
| std::optional<BackupRecord> Lightweight::SqlMigration::BackupRequirement::lastBackup |
The newest backup or restore record; waived records are skipped.
Definition at line 297 of file SqlMigration.hpp.