]> _ Git - cubist_cms-back.git/commitdiff
#2783
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 21 May 2019 13:08:33 +0000 (15:08 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 21 May 2019 13:08:33 +0000 (15:08 +0200)
src/CubistBackpackServiceProvider.php

index f0ce2c422fbcb28dd6a883d64cce1879b0457444..7f5760da580c6704cc8db2af7c3363c0c2c61716 100644 (file)
@@ -36,8 +36,9 @@ class CubistBackpackServiceProvider extends ServiceProvider
 //                Config::set('settings.' . $setting->key, $setting->value);
 //            }
 //        }
+        $this->publishes([__DIR__.'/database/migrations' => database_path('migrations')], 'migrations');
+
         $this->loadTranslationsFrom(__DIR__ . '/resources/lang', 'cubist_back');
-        $this->loadMigrationsFrom(__DIR__ . '/database/migrations');
         foreach (glob(__DIR__ . '/routes/cubist/backpack/*.php') as $filename) {
             $this->loadRoutesFrom($filename);
         }