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:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user