#ifndef MYGRATE_DBTYPES_H #define MYGRATE_DBTYPES_H #include "bitset.h" #include #include #include #include struct timespec; namespace MyGrate { struct Date { uint16_t year; uint8_t month; uint8_t day; }; struct Time { uint8_t hour; uint8_t minute; uint8_t second; }; struct DateTime : public Date, public Time { }; using Blob = std::span; using DbValue = std::variant; } #endif