Skip to content

Commit eb8ce2d

Browse files
committed
Allow aliases to be run directly
1 parent 214f8b4 commit eb8ce2d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/Illuminate/Cache/Console/CacheTableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Illuminate\Console\MigrationGeneratorCommand;
66
use Symfony\Component\Console\Attribute\AsCommand;
77

8-
#[AsCommand(name: 'make:cache-table')]
8+
#[AsCommand(name: 'make:cache-table', aliases: ['cache:table'])]
99
class CacheTableCommand extends MigrationGeneratorCommand
1010
{
1111
/**

src/Illuminate/Notifications/Console/NotificationTableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Illuminate\Console\MigrationGeneratorCommand;
66
use Symfony\Component\Console\Attribute\AsCommand;
77

8-
#[AsCommand(name: 'make:notifications-table')]
8+
#[AsCommand(name: 'make:notifications-table', aliases: ['notifications:table'])]
99
class NotificationTableCommand extends MigrationGeneratorCommand
1010
{
1111
/**

src/Illuminate/Queue/Console/BatchesTableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
use function Illuminate\Filesystem\join_paths;
99

10-
#[AsCommand(name: 'make:queue-batches-table')]
10+
#[AsCommand(name: 'make:queue-batches-table', aliases: ['queue:batches-table'])]
1111
class BatchesTableCommand extends MigrationGeneratorCommand
1212
{
1313
/**

src/Illuminate/Queue/Console/FailedTableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
use function Illuminate\Filesystem\join_paths;
99

10-
#[AsCommand(name: 'make:queue-failed-table')]
10+
#[AsCommand(name: 'make:queue-failed-table', aliases: ['queue:failed-table'])]
1111
class FailedTableCommand extends MigrationGeneratorCommand
1212
{
1313
/**

src/Illuminate/Queue/Console/TableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
use function Illuminate\Filesystem\join_paths;
99

10-
#[AsCommand(name: 'make:queue-table')]
10+
#[AsCommand(name: 'make:queue-table', aliases: ['queue:table'])]
1111
class TableCommand extends MigrationGeneratorCommand
1212
{
1313
/**

src/Illuminate/Session/Console/SessionTableCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
use function Illuminate\Filesystem\join_paths;
99

10-
#[AsCommand(name: 'make:session-table')]
10+
#[AsCommand(name: 'make:session-table', aliases: ['session:table'])]
1111
class SessionTableCommand extends MigrationGeneratorCommand
1212
{
1313
/**

0 commit comments

Comments
 (0)