diff --git a/database/migrations/2018_09_07_075622_create_io_types_table.php b/database/migrations/2018_09_07_075622_create_io_types_table.php index 308ca2d..9c28192 100644 --- a/database/migrations/2018_09_07_075622_create_io_types_table.php +++ b/database/migrations/2018_09_07_075622_create_io_types_table.php @@ -13,10 +13,10 @@ class CreateIOTypesTable extends Migration */ public function up() { - Schema::create('io_types', function (Blueprint $table) { + Schema::create('i_o_types', function (Blueprint $table) { $table->increments('id'); - - $table->string('type'); + + $table->string('name'); $table->timestamps(); }); @@ -29,6 +29,6 @@ class CreateIOTypesTable extends Migration */ public function down() { - Schema::dropIfExists('io_types'); + Schema::dropIfExists('i_o_types'); } }