Fixed tests

This commit is contained in:
Burak Çakırel
2021-05-20 02:11:03 +03:00
parent 35effbafd2
commit a1b3d954c0
2 changed files with 14 additions and 3 deletions

View File

@ -14,13 +14,13 @@ class CoreV2114 extends Migration
public function up()
{
Schema::table('media', function (Blueprint $table) {
$table->unsignedInteger('company_id')->after('id');
$table->unsignedInteger('company_id')->default(0)->after('id');
$table->index('company_id');
});
Schema::table('mediables', function (Blueprint $table) {
$table->unsignedInteger('company_id')->after('media_id');
$table->unsignedInteger('company_id')->default(0)->after('media_id');
$table->index('company_id');
});