updated README
This commit is contained in:
parent
8c721de6cd
commit
6197055901
@ -103,12 +103,12 @@ Create a new database migration using the custom Meta command:
|
||||
$ php artisan meta:migration --table=existing_table_name
|
||||
```
|
||||
|
||||
Make sure the inside of the `up()` function matches the following:
|
||||
Make sure the inside of the `up()` function contains the `formTable` function:
|
||||
|
||||
``` php
|
||||
public function up()
|
||||
{
|
||||
Schema::table('DummyTable', function (Blueprint $table) {
|
||||
Schema::table('existing_table_name', function (Blueprint $table) {
|
||||
Meta::formTable($table);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user