Update statistics table name check
Class name was missing Table, this result into creating new migrations everytime you publish the package.
This commit is contained in:
parent
c5c11612e3
commit
45d951c56b
|
|
@ -25,7 +25,7 @@ class WebSocketsServiceProvider extends ServiceProvider
|
||||||
__DIR__.'/../config/websockets.php' => base_path('config/websockets.php'),
|
__DIR__.'/../config/websockets.php' => base_path('config/websockets.php'),
|
||||||
], 'config');
|
], 'config');
|
||||||
|
|
||||||
if (! class_exists('CreateWebSocketsStatisticsEntries')) {
|
if (! class_exists('CreateWebSocketsStatisticsEntriesTable')) {
|
||||||
$this->publishes([
|
$this->publishes([
|
||||||
__DIR__.'/../database/migrations/create_websockets_statistics_entries_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_websockets_statistics_entries_table.php'),
|
__DIR__.'/../database/migrations/create_websockets_statistics_entries_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_websockets_statistics_entries_table.php'),
|
||||||
], 'migrations');
|
], 'migrations');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue