| @@ 73-80 (lines=8) @@ | ||
| 70 | ] |
|
| 71 | ); |
|
| 72 | } |
|
| 73 | if (!$table->hasColumn('contact_groupname')) { |
|
| 74 | $table->addColumn( |
|
| 75 | 'contact_groupname', 'string', [ |
|
| 76 | 'notnull' => false, |
|
| 77 | 'length' => 127, |
|
| 78 | ] |
|
| 79 | ); |
|
| 80 | } |
|
| 81 | ||
| 82 | $table = $schema->getTable('circles_members'); |
|
| 83 | if (!$table->hasColumn('contact_meta')) { |
|
| @@ 83-90 (lines=8) @@ | ||
| 80 | } |
|
| 81 | ||
| 82 | $table = $schema->getTable('circles_members'); |
|
| 83 | if (!$table->hasColumn('contact_meta')) { |
|
| 84 | $table->addColumn( |
|
| 85 | 'contact_meta', 'string', [ |
|
| 86 | 'notnull' => false, |
|
| 87 | 'length' => 1000, |
|
| 88 | ] |
|
| 89 | ); |
|
| 90 | } |
|
| 91 | if (!$table->hasColumn('contact_checked')) { |
|
| 92 | $table->addColumn( |
|
| 93 | 'contact_checked', Type::SMALLINT, [ |
|
| @@ 111-118 (lines=8) @@ | ||
| 108 | } |
|
| 109 | ||
| 110 | $table = $schema->getTable('circles_tokens'); |
|
| 111 | if (!$table->hasColumn('orig_password')) { |
|
| 112 | $table->addColumn( |
|
| 113 | 'orig_password', 'string', [ |
|
| 114 | 'notnull' => false, |
|
| 115 | 'length' => 255, |
|
| 116 | ] |
|
| 117 | ); |
|
| 118 | } |
|
| 119 | if (!$table->hasColumn('accepted')) { |
|
| 120 | $table->addColumn( |
|
| 121 | 'accepted', Type::SMALLINT, [ |
|