mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-05-07 00:59:14 -05:00
small updates of migrations and seeding
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user