migrations fix

This commit is contained in:
merdan 2022-11-21 20:47:37 +05:00
parent d9819204ce
commit ffb2823587
4 changed files with 10 additions and 10 deletions

View File

@ -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,
];
}

View File

@ -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();

View File

@ -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();
});
}

View File

@ -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');
});
}
};