Skip to content

Commit

Permalink
chore: adopt new anonymous migration class
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht committed Sep 11, 2024
1 parent f8d0e6b commit cb5be63
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

use Hyperf\Database\Migrations\Migration;
use Hyperf\Database\Schema\Blueprint;
use Hyperf\Database\Schema\Schema;
use Hyperf\Database\Migrations\Migration;
use SwooleTW\Hyperf\Support\Facades\Schema;

class CreateUsersTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
Expand All @@ -30,4 +30,4 @@ public function down(): void
{
Schema::dropIfExists('users');
}
}
};

0 comments on commit cb5be63

Please sign in to comment.