|
@@ -31,14 +31,14 @@ class CreateTransformativeTypOutcome extends Migration
|
31
|
31
|
$table->foreign('proposing_coordinator_id')
|
32
|
32
|
->references('id')
|
33
|
33
|
->on('users')
|
34
|
|
- ->onDelete('restrict')
|
35
|
|
- ->onUpdate('restrict');
|
|
34
|
+ ->onDelete('cascade')
|
|
35
|
+ ->onUpdate('cascade');
|
36
|
36
|
|
37
|
37
|
|
38
|
38
|
|
39
|
39
|
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
|
40
|
|
- $table->timestamp('updated_at')->default(DB::raw('CURRENT_TIMESTAMP'));
|
41
|
|
- $table->timestamp('deleted_at')->default(DB::raw('CURRENT_TIMESTAMP'));
|
|
40
|
+ $table->timestamp('updated_at')->nullable();
|
|
41
|
+ $table->timestamp('deleted_at')->nullable();
|
42
|
42
|
//$table->softDeletes()->default(DB::raw('CURRENT_TIMESTAMP'));
|
43
|
43
|
|
44
|
44
|
});
|