diff --git a/src/drivers/db/migrations/M211218163000JobQueueSize.php b/src/drivers/db/migrations/M211218163000JobQueueSize.php index 13fda7526..a9d9fa54b 100644 --- a/src/drivers/db/migrations/M211218163000JobQueueSize.php +++ b/src/drivers/db/migrations/M211218163000JobQueueSize.php @@ -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()); } } }