id(); $table->string('name', 50); $table->string('slug', 70)->unique(); $table->unsignedInteger('size'); $table->unsignedInteger('cost_price')->default(0); $table->unsignedInteger('sale_price')->default(0); $table->unsignedInteger('point_per_pcs'); $table->text('description')->nullable(); $table->timestamp('created_at')->useCurrent(); $table->timestamp('updated_at')->useCurrent()->useCurrentOnUpdate(); $table->softDeletes(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('bottles'); } };