Changed table name 'io_types' to 'i_o_types'.

Changed field name 'type' to 'name' in i_o_types table.
This commit is contained in:
Lukas Halbritter
2018-09-09 10:05:35 +02:00
parent ecd6fda352
commit bef4571b99
@@ -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');
}
}