| @@ 86-93 (lines=8) @@ | ||
| 83 | ] |
|
| 84 | ); |
|
| 85 | } |
|
| 86 | if (!$table->hasColumn('contact_groupname')) { |
|
| 87 | $table->addColumn( |
|
| 88 | 'contact_groupname', 'string', [ |
|
| 89 | 'notnull' => false, |
|
| 90 | 'length' => 127, |
|
| 91 | ] |
|
| 92 | ); |
|
| 93 | } |
|
| 94 | ||
| 95 | $table = $schema->getTable('circles_members'); |
|
| 96 | if (!$table->hasColumn('member_id')) { |
|
| @@ 104-111 (lines=8) @@ | ||
| 101 | ] |
|
| 102 | ); |
|
| 103 | } |
|
| 104 | if (!$table->hasColumn('contact_meta')) { |
|
| 105 | $table->addColumn( |
|
| 106 | 'contact_meta', 'string', [ |
|
| 107 | 'notnull' => false, |
|
| 108 | 'length' => 1000, |
|
| 109 | ] |
|
| 110 | ); |
|
| 111 | } |
|
| 112 | if (!$table->hasColumn('contact_checked')) { |
|
| 113 | $table->addColumn( |
|
| 114 | 'contact_checked', Type::SMALLINT, [ |
|