updated README

This commit is contained in:
glmdev 2016-12-30 05:34:14 +00:00
parent 8c721de6cd
commit 6197055901

View File

@ -103,12 +103,12 @@ Create a new database migration using the custom Meta command:
$ php artisan meta:migration --table=existing_table_name $ 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 ``` php
public function up() public function up()
{ {
Schema::table('DummyTable', function (Blueprint $table) { Schema::table('existing_table_name', function (Blueprint $table) {
Meta::formTable($table); Meta::formTable($table);
}); });
} }