Fixed tests
This commit is contained in:
@ -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');
|
||||
});
|
||||
|
Reference in New Issue
Block a user