Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
Watercycle committed Dec 15, 2023
1 parent 7cfd091 commit 63dec22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class ServiceProvider extends IlluminateServiceProvider
*/
public function boot()
{
$this->publishes(
$this->mergeConfigFrom(
__DIR__ . '/config/zero-downtime-migrations.php',
'zero-downtime-migrations',
'zero-downtime-migrations'
);

$this->publishes([
Expand Down
12 changes: 6 additions & 6 deletions src/config/zero-downtime-migrations.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

use Daursu\ZeroDowntimeMigration\Transformers\PtOnlineSchemaChange\DropOldTables;
use Daursu\ZeroDowntimeMigration\Transformers\PtOnlineSchemaChange\DropOldTriggers;
use Daursu\ZeroDowntimeMigration\Transformers\PtOnlineSchemaChange\UpdateForeignKeys;
use Daursu\ZeroDowntimeMigration\Transformers\PtOnlineSchemaChange\DropOldTablesDropOldTables;
use Daursu\ZeroDowntimeMigration\Transformers\PtOnlineSchemaChange\DropOldTriggersDropOldTriggers;
use Daursu\ZeroDowntimeMigration\Transformers\PtOnlineSchemaChange\UpdateForeignKeysUpdateForeignKeys;

return [
'transformers' => [
DropOldTables::class,
DropOldTriggers::class,
UpdateForeignKeys::class
DropOldTablesDropOldTables::class,
DropOldTriggersDropOldTriggers::class,
UpdateForeignKeysUpdateForeignKeys::class
],
];

0 comments on commit 63dec22

Please sign in to comment.