smallIncrements('id'); $table->string('name', 30)->nullable(); $table->smallInteger('showsubcat')->default(0); $table->smallInteger('showsource')->default(0); $table->smallInteger('showmedium')->default(0); $table->smallInteger('showcodec')->default(0); $table->smallInteger('showstandard')->default(0); $table->smallInteger('showprocessing')->default(0); $table->smallInteger('showteam')->default(0); $table->smallInteger('showaudiocodec')->default(0); $table->unsignedSmallInteger('catsperrow')->default(7); $table->unsignedSmallInteger('catpadding')->default(25); $table->text('custom_fields')->nullable(); $table->string('custom_fields_display_name')->default(''); $table->text('custom_fields_display')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('searchbox'); } }