You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
527 B
23 lines
527 B
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include <SQLiteCpp.h>
|
|
#include <io/debug.h>
|
|
|
|
#define ERROR_NO_MIGRATIONS -2
|
|
#define ERROR_FAULTY_MIGRATION -1
|
|
|
|
namespace sql = SQLite;
|
|
|
|
#include <db/Schema.h>
|
|
#include <db/migrations/builder/Table.h>
|
|
#include <db/migrations/builder/TableBuilder.h>
|
|
#include <db/statements/builder/Statement.h>
|
|
#include <db/statements/builder/StatementBuilder.h>
|
|
|
|
namespace db_builder = db::migrations::builder;
|
|
namespace stmt = db::statements::builder;
|
|
|
|
std::string db_safe(std::string str);
|