|
@@ -21,10 +21,10 @@ discard block |
|
|
block discarded – undo |
|
21
|
21
|
protected function configure() |
|
22
|
22
|
{ |
|
23
|
23
|
$this->setName('drop-triggers') |
|
24
|
|
- ->setDescription('Drops all triggers') |
|
25
|
|
- ->setHelp('Drops all triggers (including triggers not created by audit) from all tables (including tables '. |
|
26
|
|
- 'excluded for auditing) in the data schema.') |
|
27
|
|
- ->addArgument('config file', InputArgument::REQUIRED, 'The audit configuration file'); |
|
|
24
|
+ ->setDescription('Drops all triggers') |
|
|
25
|
+ ->setHelp('Drops all triggers (including triggers not created by audit) from all tables (including tables '. |
|
|
26
|
+ 'excluded for auditing) in the data schema.') |
|
|
27
|
+ ->addArgument('config file', InputArgument::REQUIRED, 'The audit configuration file'); |
|
28
|
28
|
} |
|
29
|
29
|
|
|
30
|
30
|
//-------------------------------------------------------------------------------------------------------------------- |
|
@@ -60,8 +60,8 @@ discard block |
|
|
block discarded – undo |
|
60
|
60
|
foreach ($triggers as $trigger) |
|
61
|
61
|
{ |
|
62
|
62
|
$this->io->logInfo('Dropping trigger <dbo>%s</dbo> from table <dbo>%s</dbo>', |
|
63
|
|
- $trigger['trigger_name'], |
|
64
|
|
- $trigger['table_name']); |
|
|
63
|
+ $trigger['trigger_name'], |
|
|
64
|
+ $trigger['table_name']); |
|
65
|
65
|
|
|
66
|
66
|
AuditDataLayer::dropTrigger($data_schema, $trigger['trigger_name']); |
|
67
|
67
|
} |
Please login to merge, or discard this patch.