Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sfolador authored and github-actions[bot] committed Jan 14, 2025
1 parent cb8dfea commit 3f65134
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/DevicesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function configurePackage(Package $package): void
->hasRoutes('devices_routes')
->hasMigrations(
['create_devices_table',
'add_firebasetoken_devices_table',
'add_firebasetoken_devices_table',
'add_indexes_for_tokens']);

}
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Device.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Device extends Model
'token',
'notifiable_id',
'notifiable_type',
'firebaseToken'
'firebaseToken',
];

protected $casts = [
Expand Down
7 changes: 3 additions & 4 deletions tests/TestSupport/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public function getEnvironmentSetUp($app)
'prefix' => '',
]);


Schema::create('testnotifiables', function (Blueprint $table) {
$table->id();

Expand All @@ -53,9 +52,9 @@ protected function runMigrations(): void
{
// Include and run each migration manually to ensure they execute
$migrations = [
include __DIR__ . '/../../database/migrations/create_devices_table.php',
include __DIR__ . '/../../database/migrations/add_firebasetoken_devices_table.php',
include __DIR__ . '/../../database/migrations/add_indexes_for_tokens.php',
include __DIR__.'/../../database/migrations/create_devices_table.php',
include __DIR__.'/../../database/migrations/add_firebasetoken_devices_table.php',
include __DIR__.'/../../database/migrations/add_indexes_for_tokens.php',
];

// Run each migration
Expand Down

0 comments on commit 3f65134

Please sign in to comment.