@@ -115,14 +115,14 @@ |
||
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | |
| 118 | - public function exportStructure(){ |
|
| 119 | - $export = []; |
|
| 118 | + public function exportStructure(){ |
|
| 119 | + $export = []; |
|
| 120 | 120 | $tables = $this->repositoryMysql->getTablesStructure($this->databaseName); |
| 121 | 121 | foreach ($tables as $table) { |
| 122 | 122 | $export[$table] = $this->getIndex($table); |
| 123 | 123 | $export[$table]['columns'] = $this->getColumns($table); |
| 124 | 124 | } |
| 125 | 125 | |
| 126 | - return json_encode($export); |
|
| 127 | - } |
|
| 126 | + return json_encode($export); |
|
| 127 | + } |
|
| 128 | 128 | } |