Skip to content

Commit bb1b131

Browse files
committed
Use database_path for migrations
As specified in http://laravel.com/docs/5.1/packages#publishing-file-groups
1 parent 4789760 commit bb1b131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OAuth2ServerServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ protected function setupMigrations()
6565
{
6666
$source = realpath(__DIR__.'/../database/migrations/');
6767

68-
$this->publishes([$source => base_path('/database/migrations')], 'migrations');
68+
$this->publishes([$source => database_path('migrations')], 'migrations');
6969
}
7070

7171
/**

0 commit comments

Comments
 (0)