Skip to content

Commit 116096c

Browse files
committed
allow use of laravel 5.2, plus allow publishing migrations
1 parent be5baea commit 116096c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"require": {
1212
"illuminate/support": "5.1.*",
13-
"illuminate/database": "5.1.*"
13+
"illuminate/database": "5.1.*|5.2.*"
1414
},
1515
"require-dev": {
1616
"phpunit/phpunit": "~4.0"

Diff for: src/PolycastServiceProvider.php

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ public function boot(Factory $factory){
2929
__DIR__.'/../dist/js/polycast.min.js' => public_path('vendor/polycast/polycast.min.js'),
3030
], 'public');
3131

32+
$this->publishes([
33+
__DIR__.'/../database/migrations/' => database_path('migrations')
34+
], 'migrations');
35+
3236
//establish connection and send current time
3337
$this->app['router']->post('polycast/connect', function(){
3438
return ['status' => 'success', 'time' => Carbon::now()->toDateTimeString()];

0 commit comments

Comments
 (0)