New Tests
This commit is contained in:
@@ -8,6 +8,10 @@ return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
if (Schema::hasTable('media')) {
|
||||
return;
|
||||
}
|
||||
|
||||
Schema::create('media', function (Blueprint $table) {
|
||||
$table->id();
|
||||
|
||||
@@ -29,4 +33,9 @@ return new class extends Migration
|
||||
$table->nullableTimestamps();
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('media');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user