Skip to content

Commit

Permalink
pkp#4789 migration update
Browse files Browse the repository at this point in the history
  • Loading branch information
touhidurabir committed Sep 9, 2022
1 parent 3e0b218 commit 0a31975
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions classes/migration/install/ReviewsMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public function up(): void
$table->foreign('review_form_id')->references('review_form_id')->on('review_forms');

$table->smallInteger('unconsidered')->nullable();
$table->smallInteger('reconsider_requested')->default(0);

// Normally reviewer can't be assigned twice on the same review round.
// HOWEVER, if two reviewer user accounts are subsequently merged, both will keep
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class I4789_AddReviewerReconsiderationColumns extends Migration
public function up(): void
{
Schema::table('review_assignments', function (Blueprint $table) {
$table->boolean('reconsider_requested')->default(false);
$table->smallInteger('reconsider_requested')->default(0);
});
}

Expand Down

0 comments on commit 0a31975

Please sign in to comment.