Skip to content

Commit

Permalink
set default connection in tom example
Browse files Browse the repository at this point in the history
Made the mysql connection the default connection in the tom example.
  • Loading branch information
silverqx committed May 28, 2022
1 parent 9b2610b commit 5f33a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tom/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ std::shared_ptr<DatabaseManager> 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. */
Expand Down

0 comments on commit 5f33a1f

Please sign in to comment.