20#ifndef ORES_DATABASE_REPOSITORY_DATABASE_INFO_ENTITY_HPP
21#define ORES_DATABASE_REPOSITORY_DATABASE_INFO_ENTITY_HPP
26#include "ores.database/repository/db_types.hpp"
27#include "sqlgen/PrimaryKey.hpp"
37 constexpr static const char* schema =
"public";
38 constexpr static const char* tablename =
"ores_database_info_tbl";
40 sqlgen::PrimaryKey<std::string> id;
41 std::string schema_version;
42 std::string build_environment;
43 std::string git_commit;
45 std::optional<db_timestamp> created_at;
Repository infrastructure and bitemporal operations.
Definition bitemporal_operations.hpp:31
ores::database::repository::db_timestamp db_timestamp
Canonical database timestamp type.
Definition database_info_entity.hpp:31
Represents a database info in the database.
Definition database_info_entity.hpp:36