feat: add btn text

This commit is contained in:
2026-06-25 10:07:42 +03:30
parent 706b349130
commit 2b5a7c9b1b
5 changed files with 36 additions and 2 deletions
@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('announcements', function (Blueprint $table) {
$table->string('button_text')->nullable()->after('link');
});
Schema::table('app_versions', function (Blueprint $table) {
$table->string('button_text')->nullable()->after('link');
});
}
public function down(): void
{
Schema::table('announcements', function (Blueprint $table) {
$table->dropColumn('button_text');
});
Schema::table('app_versions', function (Blueprint $table) {
$table->dropColumn('button_text');
});
}
};