Completed
Push — 2.0 ( 7b6bcb...0ed566 )
by Raphaël
08:47
created
src/ZohoDatabaseModelSync.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
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
         //@Temporary fix to use Mysql5.7 not strict
93 93
 //        $table->setPrimaryKey(['uid']);
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         $table = $schema->createTable($tableName);
197 197
 
198 198
         $flatFields = $users->getUserFields();
199
-        $table->addColumn('id', 'string', ['length' => 100,'notnull'=>false]);
199
+        $table->addColumn('id', 'string', ['length' => 100, 'notnull'=>false]);
200 200
         $table->setPrimaryKey(['id']);
201 201
         foreach ($flatFields as $field) {
202 202
             if (in_array($field, ['id'])) {
Please login to merge, or discard this patch.