Added 'created_by', 'updated_by' columns StickerMaster screens
Some checks failed
Gemini PR Review / Gemini PR Review (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Waiting to run
Laravel Larastan / larastan (pull_request) Waiting to run
Laravel Pint / pint (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

This commit is contained in:
dhanabalan
2026-02-06 11:36:24 +05:30
parent de11ae3b1f
commit 6163211672
5 changed files with 235 additions and 77 deletions

View File

@@ -0,0 +1,41 @@
<?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
{
$sql1 = <<<'SQL'
ALTER TABLE sticker_masters
ADD COLUMN created_by TEXT DEFAULT NULL
SQL;
DB::statement($sql1);
$sql2 = <<<'SQL'
ALTER TABLE sticker_masters
ADD COLUMN updated_by TEXT DEFAULT NULL
SQL;
DB::statement($sql2);
// Schema::table('sticker_masters', function (Blueprint $table) {
// //
// });
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('sticker_masters', function (Blueprint $table) {
//
});
}
};