@@ -86,8 +86,8 @@ discard block |
||
86 | 86 | |
87 | 87 | $flatFields = ZohoDatabaseHelper::getFlatFields($dao->getFields()); |
88 | 88 | //@Temporary fix to use Mysql5.7 not strict |
89 | - $table->addColumn('uid', 'string', ['length' => 36,'notnull'=>false]); |
|
90 | - $table->addColumn('id', 'string', ['length' => 100,'notnull'=>false]); |
|
89 | + $table->addColumn('uid', 'string', ['length' => 36, 'notnull'=>false]); |
|
90 | + $table->addColumn('id', 'string', ['length' => 100, 'notnull'=>false]); |
|
91 | 91 | $table->addUniqueIndex(['id']); |
92 | 92 | $table->setPrimaryKey(['uid']); |
93 | 93 | |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | $table = $schema->createTable($tableName); |
196 | 196 | |
197 | 197 | $flatFields = $users->getUserFields(); |
198 | - $table->addColumn('id', 'string', ['length' => 100,'notnull'=>false]); |
|
198 | + $table->addColumn('id', 'string', ['length' => 100, 'notnull'=>false]); |
|
199 | 199 | $table->setPrimaryKey(['id']); |
200 | 200 | foreach ($flatFields as $field) { |
201 | 201 | if (in_array($field, ['id'])) { |