Altered from serial number column as serial number in sticker order table
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 21s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 25s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 16s
Laravel Pint / pint (pull_request) Successful in 3m58s
Laravel Larastan / larastan (pull_request) Failing after 6m33s

This commit is contained in:
dhanabalan
2026-10-07 15:11:37 +05:30
parent 9416961cee
commit 507096732c

View File

@@ -0,0 +1,28 @@
<?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('sticker_orders', function (Blueprint $table) {
$table->renameColumn('from_serial_number', 'serial_number');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('sticker_orders', function (Blueprint $table) {
// //
// });
}
};