From 5f33a1f186a479ba05216d2dd7b55b87274c408d Mon Sep 17 00:00:00 2001 From: silverqx Date: Sat, 28 May 2022 18:01:10 +0200 Subject: [PATCH] set default connection in tom example Made the mysql connection the default connection in the tom example. --- examples/tom/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tom/main.cpp b/examples/tom/main.cpp index 4155e3927..0c18dc8e2 100644 --- a/examples/tom/main.cpp +++ b/examples/tom/main.cpp @@ -107,7 +107,7 @@ std::shared_ptr setupManager() }, /* Because the default connection name is not defined, then will be needed to provide the connection name using the --database=xyz argument. */ - {}); + QStringLiteral("tinyorm_tom_mysql")); } /* Alternative syntax to instantiate migration classes. */