| @@ 91-98 (lines=8) @@ | ||
| 88 | ] |
|
| 89 | ); |
|
| 90 | } |
|
| 91 | if (!$table->hasColumn('contact_checked')) { |
|
| 92 | $table->addColumn( |
|
| 93 | 'contact_checked', Type::SMALLINT, [ |
|
| 94 | 'notnull' => false, |
|
| 95 | 'length' => 1, |
|
| 96 | ] |
|
| 97 | ); |
|
| 98 | } |
|
| 99 | if (!$table->hasColumn('contact_id')) { |
|
| 100 | $table->addColumn( |
|
| 101 | 'contact_id', 'string', [ |
|
| @@ 119-126 (lines=8) @@ | ||
| 116 | ] |
|
| 117 | ); |
|
| 118 | } |
|
| 119 | if (!$table->hasColumn('accepted')) { |
|
| 120 | $table->addColumn( |
|
| 121 | 'accepted', Type::SMALLINT, [ |
|
| 122 | 'notnull' => false, |
|
| 123 | 'length' => 1, |
|
| 124 | ] |
|
| 125 | ); |
|
| 126 | } |
|
| 127 | ||
| 128 | return $schema; |
|
| 129 | } |
|