Skip to content

Commit 80ece06

Browse files
authored
Merge pull request #41 from AuroraWebSoftware/description-column-fix
- Added nullable to description column.
2 parents 8d986d2 + 54e97c6 commit 80ece06

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
return new class extends Migration
8+
{
9+
public function up(): void
10+
{
11+
Schema::table('aissue_issues', function (Blueprint $table) {
12+
$table->text('description')->nullable()->change();
13+
});
14+
}
15+
16+
public function down(): void
17+
{
18+
Schema::table('aissue_issues', function (Blueprint $table) {
19+
$table->text('description')->nullable(false)->change();
20+
});
21+
}
22+
};

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function getPackageProviders($app)
2626

2727
public function getEnvironmentSetUp($app)
2828
{
29-
//config()->set('database.default', 'testing');
29+
// config()->set('database.default', 'testing');
3030
config()->set('database.default', 'mysql');
3131

3232
/*

0 commit comments

Comments
 (0)