updated README

master
glmdev 7 years ago
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 $ 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);
}); });
} }

Loading…
Cancel
Save