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.

22 lines
509 B

  1. #pragma once
  2. #include <string>
  3. #include <SQLiteCpp.h>
  4. #include <io/debug.h>
  5. #define ERROR_NO_MIGRATIONS -2
  6. #define ERROR_FAULTY_MIGRATION -1
  7. namespace sql = SQLite;
  8. #include <db/Schema.h>
  9. #include <db/migrations/builder/Table.h>
  10. #include <db/migrations/builder/TableBuilder.h>
  11. #include <db/statements/builder/Statement.h>
  12. #include <db/statements/builder/StatementBuilder.h>
  13. namespace db_builder = db::migrations::builder;
  14. namespace stmt = db::statements::builder;
  15. std::string db_safe(std::string str);