|
@@ -14,8 +14,8 @@ class ChangeRejectedBillsTable extends Migration
|
|
|
public function up()
|
|
public function up()
|
|
|
{
|
|
{
|
|
|
Schema::table('rejected_bills',function (Blueprint $table){
|
|
Schema::table('rejected_bills',function (Blueprint $table){
|
|
|
- $table->index('is_loaded');
|
|
|
|
|
- $table->index('is_checked');
|
|
|
|
|
|
|
+ $table->index('is_loaded','rejected_bills_is_loaded_index');
|
|
|
|
|
+ $table->index('is_checked','rejected_bills_is_checked_index');
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -28,8 +28,8 @@ class ChangeRejectedBillsTable extends Migration
|
|
|
{
|
|
{
|
|
|
//
|
|
//
|
|
|
Schema::table('rejected_bills',function (Blueprint $table){
|
|
Schema::table('rejected_bills',function (Blueprint $table){
|
|
|
- $table->dropIndex('is_loaded');
|
|
|
|
|
- $table->dropIndex('is_checked');
|
|
|
|
|
|
|
+ $table->dropIndex('rejected_bills_is_loaded_index');
|
|
|
|
|
+ $table->dropIndex('rejected_bills_is_checked_index');
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|