Commit abc8c7b3 authored by Guilherme Silva's avatar Guilherme Silva
Browse files

Correção de coluna duplicada

parent d80f9576
...@@ -17,6 +17,7 @@ class AlterTableParticipantes extends Migration ...@@ -17,6 +17,7 @@ class AlterTableParticipantes extends Migration
$table->string('anexoTermoCompromisso')->nullable(); $table->string('anexoTermoCompromisso')->nullable();
$table->string('anexoComprovanteMatricula')->nullable(); $table->string('anexoComprovanteMatricula')->nullable();
$table->string('anexoLattes')->nullable(); $table->string('anexoLattes')->nullable();
$table->string('anexoComprovanteBancario')->nullable();
}); });
} }
...@@ -31,6 +32,7 @@ class AlterTableParticipantes extends Migration ...@@ -31,6 +32,7 @@ class AlterTableParticipantes extends Migration
$table->dropColumn('anexoTermoCompromisso'); $table->dropColumn('anexoTermoCompromisso');
$table->dropColumn('anexoComprovanteMatricula'); $table->dropColumn('anexoComprovanteMatricula');
$table->dropColumn('anexoLattes'); $table->dropColumn('anexoLattes');
$table->dropColumn('anexoComprovanteBancario');
}); });
} }
} }
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AlterTableParticipantes3 extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('participantes', function (Blueprint $table) {
$table->string('anexoComprovanteBancario')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('participantes', function (Blueprint $table) {
$table->dropColumn('anexoComprovanteBancario');
});
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment