fixing multiple references
This commit is contained in:
@@ -5,6 +5,9 @@ use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
|
||||
protected $connection = 'lucentDb';
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
|
||||
@@ -6,6 +6,8 @@ use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
protected $connection = 'lucentDb';
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
|
||||
@@ -5,6 +5,8 @@ use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
|
||||
protected $connection = 'lucentDb';
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
|
||||
@@ -5,6 +5,8 @@ use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
|
||||
protected $connection = 'lucentDb';
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
|
||||
@@ -5,6 +5,8 @@ use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
|
||||
protected $connection = 'lucentDb';
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
|
||||
@@ -5,6 +5,9 @@ use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
|
||||
protected $connection = 'lucentDb';
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
@@ -14,7 +17,7 @@ return new class extends Migration {
|
||||
{
|
||||
Schema::table('records', function (Blueprint $table) {
|
||||
$table->dropIndex(['schema', 'status']);
|
||||
$table->index(['schema', '_sys->updatedAt','status']);
|
||||
$table->index(['schema', '_sys->updatedAt', 'status']);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -27,7 +30,7 @@ return new class extends Migration {
|
||||
{
|
||||
Schema::table('records', function (Blueprint $table) {
|
||||
|
||||
$table->dropIndex(['schema', '_sys->updatedAt','status']);
|
||||
$table->dropIndex(['schema', '_sys->updatedAt', 'status']);
|
||||
$table->index(['schema', 'status']);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user