small updates of migrations and seeding

This commit is contained in:
silverqx
2022-05-17 15:16:47 +02:00
parent b8ad1c0bf0
commit ca93cd31a0
3 changed files with 4 additions and 4 deletions
@@ -14,7 +14,7 @@ TINYORM_BEGIN_COMMON_NAMESPACE
namespace Tom::Commands::Make
{
/*! Create a new migration class. */
/*! Create a new migration file. */
class MigrationCommand : public Command
{
Q_DISABLE_COPY(MigrationCommand)
@@ -84,7 +84,7 @@ namespace Tom::Commands::Make
QString MigrationCommand::description() const
{
return QStringLiteral("Create a new migration class");
return QStringLiteral("Create a new migration file");
}
} // namespace Tom::Commands::Make
@@ -44,7 +44,7 @@ MigrationCommand::MigrationCommand(Application &application, QCommandLineParser
const std::vector<PositionalArgument> &MigrationCommand::positionalArguments() const
{
static const std::vector<PositionalArgument> cached {
{NAME, QStringLiteral("The name of the migration")},
{NAME, QStringLiteral("The name of the migration (best snake_case)")},
};
return cached;
+1 -1
View File
@@ -33,7 +33,7 @@ SeederCommand::SeederCommand(Application &application, QCommandLineParser &parse
const std::vector<PositionalArgument> &SeederCommand::positionalArguments() const
{
static const std::vector<PositionalArgument> cached {
{NAME, QStringLiteral("The name of the seeder class")},
{NAME, QStringLiteral("The name of the seeder class (required StudlyCase)")},
};
return cached;