Lightweight 0.20260303.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
 Three-way comparison operator.
 

Public Attributes

uint64_t value {}
 The numeric timestamp value identifying the migration.
 

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 38 of file SqlMigration.hpp.

Member Data Documentation

◆ value

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

The numeric timestamp value identifying the migration.

Definition at line 41 of file SqlMigration.hpp.


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