Skip to content

Commit fd8560e

Browse files
committed
Updated README.md
1 parent 4a535a9 commit fd8560e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ Laravel will automatically register service provider for you.
4444

4545
### Lumen Setup
4646

47-
Auto discovery is not available in Lumen, you need some modification on `bootstrap/app.php`
47+
Auto-discovery is not available in Lumen, you need some modification on `bootstrap/app.php`.
4848

4949
#### Enable facade
5050

51-
Uncomment the following line
51+
Uncomment the following line.
5252

5353
```
5454
$app->withFacades();
5555
```
5656

5757
#### Register provider
5858

59-
Add following line
59+
Add following line into the `Register Service Providers` section.
6060

6161
```
6262
$app->register(\MigrationsGenerator\MigrationsGeneratorServiceProvider::class);
@@ -96,7 +96,9 @@ php artisan migrate:generate --connection="connection_name"
9696

9797
### Squash migrations
9898

99-
By default, Generator will generate multiple migration files for each table. You can squash all migrations into single file with `--squash`.
99+
By default, Generator will generate multiple migration files for each table.
100+
101+
You can squash all migrations into a single file with:
100102

101103
```bash
102104
php artisan migrate:generate --squash
@@ -113,7 +115,7 @@ Run `php artisan help migrate:generate` for a list of options.
113115
|-i, --ignore[=IGNORE]|A list of Tables you wish to ignore, separated by a comma: users,posts,comments|
114116
|-p, --path[=PATH]|Where should the file be created?|
115117
|-tp, --template-path[=TEMPLATE-PATH]|The location of the template for this generator|
116-
|--date=[DATE]|Migrations will be created with specified date. Foreign keys will be crated for specified time + 1 second. Date should be in format suitable for Carbon::parse|
118+
|--date[=DATE]|Migrations will be created with specified date. Foreign keys will be created for specified time + 1 second. Date should be in format suitable for `Carbon::parse`|
117119
|--table-filename[=TABLE-FILENAME]|Define table migration filename, default pattern: [datetime_prefix]\_create_[table]_table.php|
118120
|--fk-filename[=FK-FILENAME]|Define foreign key migration filename, default pattern: [datetime_prefix]\_add_foreign_keys_to_[table]_table.php|
119121
|--default-index-names|Don\'t use db index names for migrations|

0 commit comments

Comments
 (0)