Skip to content

Commit

Permalink
fix 500
Browse files Browse the repository at this point in the history
  • Loading branch information
lehaa22 authored Nov 2, 2023
1 parent 67637f5 commit 5349ac9
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 5349ac9

Please sign in to comment.