increments('id'); $table->string('name_of_pet', 50)->nullable(); $table->bigInteger('perfecture_id')->nullable(); $table->bigInteger('reward_id')->nullable(); $table->dateTime('lost_date')->nullable(); $table->text('color_of_pet')->nullable(); $table->smallInteger('age_of_pet')->nullable(); $table->text('character')->nullable(); $table->text('characteristics')->nullable(); $table->tinyInteger('status')->nullable(); $table->float('map_lat')->nullable(); $table->float('map_lang')->nullable(); $table->decimal('other_amount', 8,2)->nullable(); $table->string('slug', 100)->nullable(); $table->integer('user_id')->nullable(); $table->string('upload_folder', 100)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('pets'); } }