increments('id'); $table->string('name', 50)->nullable(); $table->longText('description')->nullable(); $table->integer('executions_amount')->nullable(); $table->integer('min_participants')->nullable(); $table->integer('max_participants')->nullable(); $table->decimal('cost', 50)->nullable(); $table->json('available_dates')->nullable(); $table->json('relevant_classes')->nullable(); $table->time('preferred_time')->nullable(); $table->integer('created_by')->nullable(); $table->boolean('verified')->nullable(); $table->integer('upvotes')->nullable(); $table->integer('downvotes')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->string('slug', 50)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('suggestions'); } }