Skip to content

Commit

Permalink
Merge pull request #501 from lehaa22/fix_500
Browse files Browse the repository at this point in the history
fix 500
  • Loading branch information
bizley authored Nov 2, 2023
2 parents 67637f5 + 5349ac9 commit 9e9d465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/db/migrations/M211218163000JobQueueSize.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ class M211218163000JobQueueSize extends Migration
public function up()
{
if ($this->db->driverName === 'mysql') {
$this->alterColumn('{{%queue}}', 'job', 'LONGBLOB NOT NULL');
$this->alterColumn($this->tableName, 'job', 'LONGBLOB NOT NULL');
}
}

public function down()
{
if ($this->db->driverName === 'mysql') {
$this->alterColumn('{{%queue}}', 'job', $this->binary()->notNull());
$this->alterColumn($this->tableName, 'job', $this->binary()->notNull());
}
}
}

0 comments on commit 9e9d465

Please sign in to comment.