2026_10_30_180000_create_agent_page_settings.php 626 B

1234567891011121314151617181920
  1. <?php
  2. use Illuminate\Database\Migrations\Migration;
  3. use Illuminate\Database\Schema\Blueprint;
  4. use Illuminate\Support\Facades\Schema;
  5. return new class extends Migration {
  6. public function up(): void
  7. {
  8. Schema::create('agent_page_settings', function (Blueprint $t) {
  9. $t->id();
  10. $t->mediumText('commission_plan_html')->nullable();
  11. $t->string('contact_tg_url', 2048)->default('');
  12. $t->string('agent_backend_url', 2048)->default('');
  13. $t->timestamps();
  14. });
  15. }
  16. public function down(): void { Schema::dropIfExists('agent_page_settings'); }
  17. };