Commit 598be7bb authored by carlos's avatar carlos
Browse files

erro ao deletar edital

parent 1e10c5d5
...@@ -3,9 +3,11 @@ ...@@ -3,9 +3,11 @@
namespace App; namespace App;
use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Evento extends Model class Evento extends Model
{ {
use SoftDeletes;
/** /**
* The attributes that are mass assignable. * The attributes that are mass assignable.
* *
......
...@@ -36,6 +36,7 @@ class CreateEventosTable extends Migration ...@@ -36,6 +36,7 @@ class CreateEventosTable extends Migration
$table->string('pdfEdital')->nullable(); $table->string('pdfEdital')->nullable();
$table->string('modeloDocumento')->nullable(); $table->string('modeloDocumento')->nullable();
$table->string('anexosStatus')->nullable(); $table->string('anexosStatus')->nullable();
$table->softDeletes();
}); });
} }
......
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