mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Use xethron/migrations-generator only in dev environment
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user