|
Lightweight 0.20260921.0
|
#include <SqlMigration.hpp>
Public Attributes | |
| std::vector< MigrationTimestamp > | dependencies {} |
| Migrations that must be applied before this one. | |
| std::string_view | author {} |
| Author of the migration. Recorded in schema_migrations when the migration is applied. | |
| std::string_view | description {} |
| Long-form description. Recorded in schema_migrations when the migration is applied. | |
Represents a single unique SQL migration.
This class is a convenience class that can be used to create a migration.
Optional metadata attached to a Migration at construction time.
All fields are optional. Unset fields behave as if the feature were not used (e.g. empty dependencies preserves timestamp order).
Definition at line 948 of file SqlMigration.hpp.
| std::vector<MigrationTimestamp> Lightweight::SqlMigration::MigrationMetadata::dependencies {} |
Migrations that must be applied before this one.
Definition at line 951 of file SqlMigration.hpp.
| std::string_view Lightweight::SqlMigration::MigrationMetadata::author {} |
Author of the migration. Recorded in schema_migrations when the migration is applied.
Definition at line 953 of file SqlMigration.hpp.
| std::string_view Lightweight::SqlMigration::MigrationMetadata::description {} |
Long-form description. Recorded in schema_migrations when the migration is applied.
Definition at line 955 of file SqlMigration.hpp.