21 if ($this->hasTable(
"queue")) {
25 $table = $this->table(
"queue", [
27 'encoding' =>
"utf8mb4",
28 'collation' =>
"utf8mb4_general_ci",
31 $table->addColumn(
'name',
'string', [
33 'limit' => MysqlAdapter::TEXT_SMALL,
35 'collation' =>
"utf8_general_ci",
38 $table->addColumn(
'data',
'blob', [
40 'limit' => MysqlAdapter::BLOB_MEDIUM,
43 $table->addColumn(
'timestamp',
'integer', [
45 'limit' => MysqlAdapter::INT_REGULAR,
49 $table->addColumn(
'worker',
'string', [
54 $table->addIndex([
'name'], [
change()
CREATE TABLE prefix_queue ( id int(11) NOT NULL AUTO_INCREMENT, name varchar(255) CHARACTER SET utf8 ...