1
0
forked from poc/pds

Altered from serial number column as serial number in sticker order table

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) {
// //
// });
}
};