summaryrefslogtreecommitdiff
path: root/test/testdb-postgresql.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-13 02:42:26 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-13 02:42:26 +0100
commitd8025ff93d66ec1ff7a6ffd90783e877e9eaafff (patch)
tree2ca815e4ffb42430acbe290858f859157356336e /test/testdb-postgresql.h
parentCreate and drop PostgreSQL mock DBs as needed (diff)
downloadmygrate-d8025ff93d66ec1ff7a6ffd90783e877e9eaafff.tar.bz2
mygrate-d8025ff93d66ec1ff7a6ffd90783e877e9eaafff.tar.xz
mygrate-d8025ff93d66ec1ff7a6ffd90783e877e9eaafff.zip
Support creating a PostgreSQL mock DB and filling it with a schema script
Diffstat (limited to 'test/testdb-postgresql.h')
-rw-r--r--test/testdb-postgresql.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testdb-postgresql.h b/test/testdb-postgresql.h
index fc73d2a..c1cd14a 100644
--- a/test/testdb-postgresql.h
+++ b/test/testdb-postgresql.h
@@ -8,6 +8,7 @@ namespace MyGrate {
class PqConnDB : public Output::Pq::PqConn {
public:
PqConnDB();
+ PqConnDB(const std::string & schemaFile);
~PqConnDB();
Output::Pq::PqConn mock() const;