id(); $table->string('title'); $table->text('body'); $table->unsignedInteger('rating'); $table->string('user_nickname',100); $table->tinyInteger('approved')->default(0)->comment('when 1 the comment can be public'); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('feedback'); } };