diff --git a/README.md b/README.md index 20082ce..2da41f8 100644 --- a/README.md +++ b/README.md @@ -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); }); }