File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 6
6
"name" : " Jose Lorente" ,
7
7
"email" : " jose.lorente.martin@gmail.com"
8
8
}],
9
- "require" : {},
9
+ "require" : {
10
+ "php" : " >=7.0.0" ,
11
+ "illuminate/support" : " ~5.6 || ^6.0"
12
+ },
10
13
"autoload" : {
11
14
"psr-4" : {
12
15
"Jlorente\\ DataMigrations\\ " : " src/"
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ class MakeMigrateDataCommand extends MigrateMakeCommand
25
25
protected $ signature = 'make:data-migration {name : The name of the migration.}
26
26
{--create= : The table to be created.}
27
27
{--table= : The table to migrate.}
28
- {--path= : The location where the migration file should be created.} ' ;
28
+ {--path= : The location where the migration file should be created.}
29
+ {--realpath : Indicate any provided migration file paths are pre-resolved absolute paths}
30
+ {--fullpath : Output the full path of the migration} ' ;
29
31
protected $ description = 'Create a new data migration file ' ;
30
32
31
33
}
Original file line number Diff line number Diff line change @@ -28,11 +28,12 @@ class MigrateDataCommand extends MigrateCommand
28
28
* @var string
29
29
*/
30
30
protected $ signature = 'migrate-data {--database= : The database connection to use.}
31
- {--force : Force the operation to run when in production.}
32
- {--path= : The path of migrations files to be executed.}
33
- {--pretend : Dump the SQL queries that would be run.}
34
- {--seed : Indicates if the seed task should be re-run.}
35
- {--step : Force the migrations to be run so they can be rolled back individually.} ' ;
31
+ {--force : Force the operation to run when in production}
32
+ {--path=* : The path(s) to the migrations files to be executed}
33
+ {--realpath : Indicate any provided migration file paths are pre-resolved absolute paths}
34
+ {--pretend : Dump the SQL queries that would be run}
35
+ {--seed : Indicates if the seed task should be re-run}
36
+ {--step : Force the migrations to be run so they can be rolled back individually} ' ;
36
37
37
38
/**
38
39
* The console command description.
You can’t perform that action at this time.
0 commit comments