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

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