#include "Stroika/Foundation/StroikaPreComp.h"
#include "Stroika/Foundation//Common/Version.h"
#include "Stroika/Foundation/Database/SQL/Connection.h"
#include "Stroika/Foundation/Database/SQL/ORM/Schema.h"
#include "Versioning.inl"
Go to the source code of this file.
Namespaces | |
namespace | Stroika::Foundation |
Functions | |
void | Stroika::Foundation::Database::SQL::ORM::ProvisionForVersion (SQL::Connection::Ptr conn, Common::Version targetDBVersion, const Traversal::Iterable< Schema::Table > &tables) |
TODO:
todo this maybe have IN-ConnectionPtr and OUT-Connection-Ptr in TableProvisioner API? or pair<Connection::Ptr,optional<Version>> from, and same-type to. maybe optional<pair> for the from for the case of no DB to start with.
Extend versioninfo so we track actual app code version and format version; (so instead of pair<> probably struct).
Definition in file Versioning.h.
void Stroika::Foundation::Database::SQL::ORM::ProvisionForVersion | ( | SQL::Connection::Ptr | conn, |
Common::Version | targetDBVersion, | ||
const Traversal::Iterable< Schema::Table > & | tables | ||
) |
Definition at line 24 of file Versioning.cpp.