@@ -94,9 +94,9 @@ |
||
| 94 | 94 | $theName = $theOption; |
| 95 | 95 | } |
| 96 | 96 | $tableRow = ['column_name' => $theName, |
| 97 | - 'data_column_type' => $this->dataTableOptions[$theOption], |
|
| 98 | - 'audit_column_type' => $this->auditTableOptions[$theOption], |
|
| 99 | - 'config_column_type' => null]; |
|
| 97 | + 'data_column_type' => $this->dataTableOptions[$theOption], |
|
| 98 | + 'audit_column_type' => $this->auditTableOptions[$theOption], |
|
| 99 | + 'config_column_type' => null]; |
|
| 100 | 100 | $this->rows[$theOption] = RowHelper::createTableRow($tableRow); |
| 101 | 101 | } |
| 102 | 102 | } |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | { |
| 94 | 94 | $theName = $theOption; |
| 95 | 95 | } |
| 96 | - $tableRow = ['column_name' => $theName, |
|
| 96 | + $tableRow = ['column_name' => $theName, |
|
| 97 | 97 | 'data_column_type' => $this->dataTableOptions[$theOption], |
| 98 | 98 | 'audit_column_type' => $this->auditTableOptions[$theOption], |
| 99 | 99 | 'config_column_type' => null]; |
@@ -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) |