@@ 24-27 (lines=4) @@ | ||
21 | ||
22 | $activityTable = $schema->getTable("{$prefix}activity"); |
|
23 | $activityIdColumn = $activityTable->getColumn('activity_id'); |
|
24 | if ($activityIdColumn->getType()->getName() !== Type::BIGINT) { |
|
25 | $activityIdColumn->setType(Type::getType(Type::BIGINT)); |
|
26 | $activityIdColumn->setOptions(['length' => 20]); |
|
27 | } |
|
28 | ||
29 | $objectIdColumn = $activityTable->getColumn('object_id'); |
|
30 | if ($objectIdColumn->getType()->getName() !== Type::BIGINT) { |
|
@@ 30-33 (lines=4) @@ | ||
27 | } |
|
28 | ||
29 | $objectIdColumn = $activityTable->getColumn('object_id'); |
|
30 | if ($objectIdColumn->getType()->getName() !== Type::BIGINT) { |
|
31 | $objectIdColumn->setType(Type::getType(Type::BIGINT)); |
|
32 | $objectIdColumn->setOptions(['length' => 20]); |
|
33 | } |
|
34 | ||
35 | $activityMqTable = $schema->getTable("{$prefix}activity_mq"); |
|
36 | $mailIdColumn = $activityMqTable->getColumn('mail_id'); |
|
@@ 37-40 (lines=4) @@ | ||
34 | ||
35 | $activityMqTable = $schema->getTable("{$prefix}activity_mq"); |
|
36 | $mailIdColumn = $activityMqTable->getColumn('mail_id'); |
|
37 | if ($mailIdColumn->getType()->getName() !== Type::BIGINT) { |
|
38 | $mailIdColumn->setType(Type::getType(Type::BIGINT)); |
|
39 | $mailIdColumn->setOptions(['length' => 20]); |
|
40 | } |
|
41 | } |
|
42 | } |
|
43 |