Lightweight 0.20251202.0
Loading...
Searching...
No Matches
Lightweight::SqlMigration::MigrationTimestamp Struct Reference

#include <SqlMigration.hpp>

Public Member Functions

constexpr std::weak_ordering operator<=> (MigrationTimestamp const &other) const noexcept=default
 

Public Attributes

uint64_t value {}
 

Detailed Description

Represents a unique timestamp of a migration.

This struct is used to identify migrations and is used as a key in the migration history table.

Note, a recommended format for the timestamp is a human readable format like YYYYMMDDHHMMSS

Definition at line 35 of file SqlMigration.hpp.

Member Data Documentation

◆ value

uint64_t Lightweight::SqlMigration::MigrationTimestamp::value {}

Definition at line 37 of file SqlMigration.hpp.


The documentation for this struct was generated from the following file: