Skip to content

Commit

Permalink
* Plugin upgraded to be used in Laravel version >=5.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlorente committed Sep 24, 2019
1 parent 92aceff commit 4ddee22
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"name": "Jose Lorente",
"email": "jose.lorente.martin@gmail.com"
}],
"require": {},
"require": {
"php": ">=7.0.0",
"illuminate/support": "~5.6 || ^6.0"
},
"autoload": {
"psr-4": {
"Jlorente\\DataMigrations\\": "src/"
Expand Down
4 changes: 3 additions & 1 deletion src/Console/Commands/MakeMigrateDataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ class MakeMigrateDataCommand extends MigrateMakeCommand
protected $signature = 'make:data-migration {name : The name of the migration.}
{--create= : The table to be created.}
{--table= : The table to migrate.}
{--path= : The location where the migration file should be created.}';
{--path= : The location where the migration file should be created.}
{--realpath : Indicate any provided migration file paths are pre-resolved absolute paths}
{--fullpath : Output the full path of the migration}';
protected $description = 'Create a new data migration file';

}
11 changes: 6 additions & 5 deletions src/Console/Commands/MigrateDataCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ class MigrateDataCommand extends MigrateCommand
* @var string
*/
protected $signature = 'migrate-data {--database= : The database connection to use.}
{--force : Force the operation to run when in production.}
{--path= : The path of migrations files to be executed.}
{--pretend : Dump the SQL queries that would be run.}
{--seed : Indicates if the seed task should be re-run.}
{--step : Force the migrations to be run so they can be rolled back individually.}';
{--force : Force the operation to run when in production}
{--path=* : The path(s) to the migrations files to be executed}
{--realpath : Indicate any provided migration file paths are pre-resolved absolute paths}
{--pretend : Dump the SQL queries that would be run}
{--seed : Indicates if the seed task should be re-run}
{--step : Force the migrations to be run so they can be rolled back individually}';

/**
* The console command description.
Expand Down

0 comments on commit 4ddee22

Please sign in to comment.