@@ -16,6 +16,7 @@ |
||
16 | 16 | * Computes the name of the table based on the DAO plural module name. |
17 | 17 | * |
18 | 18 | * @param AbstractZohoDao $dao |
19 | + * @param string $prefix |
|
19 | 20 | * |
20 | 21 | * @return string |
21 | 22 | */ |
@@ -49,7 +49,7 @@ |
||
49 | 49 | $localDelete = $schema->createTable('local_delete'); |
50 | 50 | $localDelete->addColumn('table_name', 'string', ['length' => 100]); |
51 | 51 | $localDelete->addColumn('uid', 'integer'); |
52 | - $localDelete->addColumn('id', 'string', ['length' => 100]); |
|
52 | + $localDelete->addColumn('id', 'string', ['length' => 100]); |
|
53 | 53 | $localDelete->setPrimaryKey(array('table_name', 'uid')); |
54 | 54 | $localDelete->addUniqueIndex(['id', 'table_name']); |
55 | 55 |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | $this->zohoDatabaseModelSync = $zohoDatabaseModelSync; |
78 | 78 | $this->zohoDatabaseCopier = $zohoDatabaseCopier; |
79 | 79 | $this->zohoDatabaseSync = $zohoDatabaseSync; |
80 | - $this->zohoEntitiesGenerator = $zohoEntitiesGenerator; |
|
80 | + $this->zohoEntitiesGenerator = $zohoEntitiesGenerator; |
|
81 | 81 | $this->zohoClient = $zohoClient; |
82 | 82 | $this->pathZohoDaos = $pathZohoDaos; |
83 | 83 | $this->namespaceZohoDaos = $namespaceZohoDaos; |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | private function regenerateZohoDao(InputInterface $input, OutputInterface $output) |
154 | 154 | { |
155 | 155 | $logger = new ConsoleLogger($output); |
156 | - $zohoModules = $this->zohoEntitiesGenerator->generateAll($this->pathZohoDaos,$this->namespaceZohoDaos); |
|
156 | + $zohoModules = $this->zohoEntitiesGenerator->generateAll($this->pathZohoDaos, $this->namespaceZohoDaos); |
|
157 | 157 | foreach ($zohoModules as $daoFullClassName) { |
158 | 158 | $zohoDao = new $daoFullClassName($this->zohoClient); |
159 | 159 | $this->zohoDaos [] = $zohoDao; |