Skip to content

Commit

Permalink
Merge pull request #2 from MediciVN/main
Browse files Browse the repository at this point in the history
add no-date-prefix option
  • Loading branch information
MediciVN authored Aug 10, 2022
2 parents f659c12 + c8a11a9 commit 4183e1b
Show file tree
Hide file tree
Showing 5 changed files with 648 additions and 70 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ Add `MediciVN\SpecifiedStubMigration\MigrationServiceProvider::class` to `config
],
```

## Options

- `--table`: The table to migrate
- `--stubpath`: The location of the stub file to create migration files
- `--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
- `--no-date-prefix`: no date prefix in filename

## Example

```injectablephp
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"require": {
"php": "^8.1",
"illuminate/database": "^9.17",
"illuminate/support": "^9.17"
"illuminate/support": "^9.17",
"illuminate/console": "^9.24"
}
}
Loading

0 comments on commit 4183e1b

Please sign in to comment.