diff --git a/app/Http/Controllers/IPsController.php b/app/Http/Controllers/IPsController.php new file mode 100644 index 0000000..b34e3c8 --- /dev/null +++ b/app/Http/Controllers/IPsController.php @@ -0,0 +1,84 @@ +char('id', 8)->unique(); + $table->char('service_id', 8); + $table->string('address'); + $table->tinyInteger('is_ipv4')->default(1); + $table->tinyInteger('active')->default(1); + $table->timestamps(); + }); + } + + public function down() + { + Schema::dropIfExists('ips'); + } +}