migrations fix
This commit is contained in:
parent
d9819204ce
commit
ffb2823587
|
|
@ -11,8 +11,8 @@ public function toArray($request){
|
|||
// 'workflow' => $this->workflow_id,
|
||||
'department_id' => $this->department_id,
|
||||
'department' => $this->department->title,
|
||||
'resolution' => $this->resolution->title,
|
||||
'resolutionbasis' => $this->resolutionbasis,
|
||||
'status' => $this->resolution->title,
|
||||
'note' => $this->resolutionbasis,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ public function up()
|
|||
$table->dropColumn('hukuk');
|
||||
$table->dropColumn('hukuk_status');
|
||||
$table->bigInteger('foreign_ID')->nullable();
|
||||
$table->string('InputNumber')->nullabale();
|
||||
$table->string('InputNumber')->nullable();
|
||||
$table->datetime('InputDate')->nullable();
|
||||
$table->datetime('RegDate')->nullable();
|
||||
$table->bigInteger('MarkerSpec')->nullable();
|
||||
|
|
|
|||
|
|
@ -14,11 +14,11 @@
|
|||
public function up()
|
||||
{
|
||||
Schema::table('applications', function (Blueprint $table) {
|
||||
$table->string('accepted_by')->nullabale();
|
||||
$table->string('modified_by')->nullabale();
|
||||
$table->string('approved_by')->nullabale();
|
||||
$table->string('accepted_date')->nullabale();
|
||||
$table->string('approved_date')->nullabale();
|
||||
$table->string('accepted_by')->nullable();
|
||||
$table->string('modified_by')->nullable();
|
||||
$table->string('approved_by')->nullable();
|
||||
$table->string('accepted_date')->nullable();
|
||||
$table->string('approved_date')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
public function up()
|
||||
{
|
||||
Schema::table('documents', function (Blueprint $table) {
|
||||
$table->boolean('is_required')->default(true)->nullable();
|
||||
$table->boolean('is_required')->default(false)->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ public function up()
|
|||
public function down()
|
||||
{
|
||||
Schema::table('documents', function (Blueprint $table) {
|
||||
//
|
||||
$table->dropColumn('is_required');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue