Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone authored Oct 17, 2024
1 parent 3d2e02a commit 61ecf99
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions src/Commands/MigrationGeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,22 @@ abstract class MigrationGeneratorCommand extends \Illuminate\Console\MigrationGe
{
use MigrationGenerator;

/**
* Create a new notifications table command instance.
*
* @return void
*/
/** {@inheritDoc} */
public function __construct(Filesystem $files)
{
parent::__construct($files);

$this->addGeneratorPresetOptions();
}

/**
* Create a base migration file for the table.
*
* @param string $table
* @return string
*/
/** {@inheritDoc} */
#[\Override]
protected function createBaseMigration($table)
{
return $this->createBaseMigrationUsingCanvas($table);
}

/**
* Determine whether a migration for the table already exists.
*
* @param string $table
* @return bool
*/
/** {@inheritDoc} */
#[\Override]
protected function migrationExists($table)
{
Expand Down

0 comments on commit 61ecf99

Please sign in to comment.