diff --git a/database/migrations/2020_03_10_145738_lengthen_ip_field.php b/database/migrations/2020_03_10_145738_lengthen_ip_field.php new file mode 100644 index 00000000..5173eaa4 --- /dev/null +++ b/database/migrations/2020_03_10_145738_lengthen_ip_field.php @@ -0,0 +1,22 @@ +string('ip', 45)->change(); + }); + } + + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->string('ip', 39)->change(); + }); + } +}