id(); $table->string('name', 100)->unique(); $table->float('price', 30, 2)->default(0); // Monthly price $table->float('yearly_price', 30, 2)->nullable(); // Yearly price $table->string('duration', 100); $table->integer('max_users')->default(0); $table->integer('max_employees')->default(0); $table->text('description')->nullable(); $table->string('enable_chatgpt', 255)->default('on'); $table->float('storage_limit', 15, 2)->default('0.00'); $table->string('is_trial')->nullable(); $table->integer('trial_day')->default(0); $table->string('is_plan_enable')->default('on'); $table->boolean('is_default')->default(false); $table->timestamps(); }); } } /** * Reverse the migrations. */ public function down(): void { if (isSaas()) { Schema::dropIfExists('plans'); } } };