Skip to content

Commit 5349ac9

Browse files
authored
fix 500
1 parent 67637f5 commit 5349ac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/drivers/db/migrations/M211218163000JobQueueSize.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ class M211218163000JobQueueSize extends Migration
2222
public function up()
2323
{
2424
if ($this->db->driverName === 'mysql') {
25-
$this->alterColumn('{{%queue}}', 'job', 'LONGBLOB NOT NULL');
25+
$this->alterColumn($this->tableName, 'job', 'LONGBLOB NOT NULL');
2626
}
2727
}
2828

2929
public function down()
3030
{
3131
if ($this->db->driverName === 'mysql') {
32-
$this->alterColumn('{{%queue}}', 'job', $this->binary()->notNull());
32+
$this->alterColumn($this->tableName, 'job', $this->binary()->notNull());
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)