Laravel Migrations Generator

http://laravel.com/

http://kejyun.github.io/Laravel-4-Docum ... roduction/
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Laravel Migrations Generator

文章 yehlu »

https://github.com/Xethron/migrations-generator

代碼: 選擇全部

composer require --dev "xethron/migrations-generator"

app/Providers/AppServiceProvider.php

代碼: 選擇全部

public function register()
{
    if ($this->app->environment() !== 'production') {
        $this->app->register(\Way\Generators\GeneratorsServiceProvider::class);
        $this->app->register(\Xethron\MigrationsGenerator\MigrationsGeneratorServiceProvider::class);
    }
    // ...
}

代碼: 選擇全部

php artisan migrate:generate
回覆文章

回到「laravel」