removed zmm1 to zmm15 columns in item characteristic table
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 4m3s
Laravel Larastan / larastan (pull_request) Failing after 4m59s
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 14s
Laravel Pint / pint (pull_request) Successful in 4m3s
Laravel Larastan / larastan (pull_request) Failing after 4m59s
This commit is contained in:
@@ -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