Skip to content

Commit

Permalink
FIX: add tag to migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilio Puljiz committed Mar 26, 2024
1 parent f97fac3 commit 56c35cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ All notable changes to `:package_name` will be documented in this file.
## Release - 2024-03-26

Version 1.1.1

## Release - 2024-03-26

Version 1.1.2 Add tags to migrate
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.1",
"version": "1.1.2",
"name": "emiliopuljiz/api-whatsapp-business",
"description": "With this package you can create WhatsApp Business templates, start conversations through these templates. We are also going to have a panel to be able to receive and send messages with clients that we start conversations with.",
"keywords": [
Expand Down
12 changes: 6 additions & 6 deletions src/ApiWhatsappBusinessServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ class ApiWhatsappBusinessServiceProvider extends ServiceProvider
*/
public function boot(): void
{
if (! class_exists('CreateWhatsappConfigurationsTable')) {
if (!class_exists('CreateWhatsappConfigurationsTable')) {
$this->publishes([
__DIR__.'/../database/migrations/2023_04_21_110851_create_whatsapp_configurations_table.php' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_whatsapp_configurations_table.php'),
]);
__DIR__ . '/../database/migrations/2023_04_21_110851_create_whatsapp_configurations_table.php' => database_path('migrations/' . date('Y_m_d_His', time()) . '_create_whatsapp_configurations_table.php'),
], 'emiliopuljiz-api-whatsapp-business-migrations');
}

if (! class_exists('CreateWhatsappNotificationsTable')) {
if (!class_exists('CreateWhatsappNotificationsTable')) {
$this->publishes([
__DIR__.'/../database/migrations/2024_03_04_161027_create_whatsapp_notifications_table.php' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_whatsapp_notifications_table.php'),
]);
__DIR__ . '/../database/migrations/2024_03_04_161027_create_whatsapp_notifications_table.php' => database_path('migrations/' . date('Y_m_d_His', time()) . '_create_whatsapp_notifications_table.php'),
], 'emiliopuljiz-api-whatsapp-business-migrations');
}
}

Expand Down

0 comments on commit 56c35cb

Please sign in to comment.