Completed
Pull Request — 2.0 (#21)
by Raphaël
07:16
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
         $table->setPrimaryKey(['uid']);
93 93
 
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
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'])) {
Please login to merge, or discard this patch.