@@ -159,8 +159,8 @@ discard block |
||
| 159 | 159 | { |
| 160 | 160 | $this->io->writeln(sprintf('<info>Found new table %s</info>', $table['table_name'])); |
| 161 | 161 | $this->config['tables'][$table['table_name']] = ['audit' => false, |
| 162 | - 'alias' => null, |
|
| 163 | - 'skip' => null]; |
|
| 162 | + 'alias' => null, |
|
| 163 | + 'skip' => null]; |
|
| 164 | 164 | } |
| 165 | 165 | } |
| 166 | 166 | } |
@@ -223,15 +223,15 @@ discard block |
||
| 223 | 223 | $tableColumns = []; |
| 224 | 224 | } |
| 225 | 225 | $configTable = new TableMetadata($table['table_name'], |
| 226 | - $this->config['database']['data_schema'], |
|
| 227 | - $tableColumns); |
|
| 226 | + $this->config['database']['data_schema'], |
|
| 227 | + $tableColumns); |
|
| 228 | 228 | |
| 229 | 229 | $currentTable = new AuditTable($this->io, |
| 230 | - $configTable, |
|
| 231 | - $this->config['database']['audit_schema'], |
|
| 232 | - $this->auditColumnsMetadata, |
|
| 233 | - $this->config['tables'][$table['table_name']]['alias'], |
|
| 234 | - $this->config['tables'][$table['table_name']]['skip']); |
|
| 230 | + $configTable, |
|
| 231 | + $this->config['database']['audit_schema'], |
|
| 232 | + $this->auditColumnsMetadata, |
|
| 233 | + $this->config['tables'][$table['table_name']]['alias'], |
|
| 234 | + $this->config['tables'][$table['table_name']]['skip']); |
|
| 235 | 235 | |
| 236 | 236 | // Ensure an audit table exists. |
| 237 | 237 | if (StaticDataLayer::searchInRowSet('table_name', $table['table_name'], $this->auditSchemaTables)===null) |