| @@ 73-81 (lines=9) @@ | ||
| 70 | ||
| 71 | try { |
|
| 72 | $circles = $schema->getTable('circle_circles'); |
|
| 73 | if (!$circles->hasColumn('config')) { |
|
| 74 | $circles->addColumn( |
|
| 75 | 'config', 'integer', [ |
|
| 76 | 'notnull' => false, |
|
| 77 | 'length' => 11, |
|
| 78 | 'unsigned' => true |
|
| 79 | ] |
|
| 80 | ); |
|
| 81 | } |
|
| 82 | if (!$circles->hasColumn('source')) { |
|
| 83 | $circles->addColumn( |
|
| 84 | 'source', 'integer', [ |
|
| @@ 82-90 (lines=9) @@ | ||
| 79 | ] |
|
| 80 | ); |
|
| 81 | } |
|
| 82 | if (!$circles->hasColumn('source')) { |
|
| 83 | $circles->addColumn( |
|
| 84 | 'source', 'integer', [ |
|
| 85 | 'notnull' => false, |
|
| 86 | 'length' => 5, |
|
| 87 | 'unsigned' => true |
|
| 88 | ] |
|
| 89 | ); |
|
| 90 | } |
|
| 91 | if (!$circles->hasColumn('instance')) { |
|
| 92 | $circles->addColumn( |
|
| 93 | 'instance', 'string', [ |
|