removed zmm1 to zmm15 columns in item characteristic table #1193
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('item_characteristics', function (Blueprint $table) {
|
||||
$table->dropColumn([
|
||||
'zmm_1',
|
||||
'zmm_2',
|
||||
'zmm_3',
|
||||
'zmm_4',
|
||||
'zmm_5',
|
||||
'zmm_6',
|
||||
'zmm_7',
|
||||
'zmm_8',
|
||||
'zmm_9',
|
||||
'zmm_10',
|
||||
'zmm_11',
|
||||
'zmm_12',
|
||||
'zmm_13',
|
||||
'zmm_14',
|
||||
'zmm_15',
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
// Schema::table('item_characteristics', function (Blueprint $table) {
|
||||
// //
|
||||
// });
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user