Use xethron/migrations-generator only in dev environment

This commit is contained in:
DariusIII
2017-10-12 13:04:13 +02:00
parent 553c5b1e1b
commit 50fc96a48f
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
2017-10-12 DariusIII
* Chg: Use xethron/migrations-generator only in dev environment
* Chg: Add xethron/migrations-generator and generate migrations
* Chg: Update some of the models
* Fix: Possible fix for bad genres display on XXX cover page
+4 -1
View File
@@ -23,6 +23,9 @@ class AppServiceProvider extends ServiceProvider
*/
public function register()
{
//
if ($this->app->environment() !== 'production') {
$this->app->register(\Way\Generators\GeneratorsServiceProvider::class);
$this->app->register(\Xethron\MigrationsGenerator\MigrationsGeneratorServiceProvider::class);
}
}
}