Skip to content

Commit 79630db

Browse files
author
emreakay
committed
some fix
1 parent 38b1b2a commit 79630db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

database/migrations/2023_10_11_192125_create_connectives_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
class create_connective_tables extends Migration
7+
return new class extends Migration
88
{
99
public function up(): void
1010
{
@@ -25,4 +25,4 @@ public function down(): void
2525
{
2626
Schema::dropIfExists('connective_relations');
2727
}
28-
}
28+
};

tests/PackageTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
beforeEach(function () {
1414
Artisan::call('migrate:fresh');
1515

16-
include_once __DIR__.'/../database/migrations/2023_10_11_192125_create_connectives_table.php';
17-
(new create_connective_tables)->up();
16+
//include_once __DIR__.'/../database/migrations/2023_10_11_192125_create_connectives_table.php';
17+
//(new create_connective_tables)->up();
1818

1919
Config::set(
2020
[

0 commit comments

Comments
 (0)