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

Ajuste na criação de tabela de notificação

parent f898e441
......@@ -19,9 +19,8 @@ class CreateNotificacaosTable extends Migration
$table->integer('remetente_id');
$table->integer('destinatario_id');
$table->integer('trabalho_id');
$table->integer('perfil_id')->nullable();
$table->boolean('lido');
$table->integer('tipo'); //1 para pediu acesso, 2 para recebeu acesso, 3 para objetivo, 4 atividade, 5 sugestao
$table->integer('tipo');
$table->foreign('remetente_id')->references('id')->on('users');
$table->foreign('trabalho_id')->references('id')->on('trabalhos');
......
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