From 9143d3623974d0a18d0ebba0be3b1edf1f6c2db1 Mon Sep 17 00:00:00 2001 From: Carlos Escobar Date: Tue, 30 Nov 2021 12:21:22 -0600 Subject: [PATCH 1/3] Update json --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 116fa0f..79fc559 100644 --- a/composer.json +++ b/composer.json @@ -11,9 +11,9 @@ ], "require": { "php": ">=5.5.9", - "illuminate/support": "^5.2", - "illuminate/database": "^5.2", - "illuminate/filesystem": "^5.2" + "illuminate/support": ">=5.2", + "illuminate/database": ">=5.2", + "illuminate/filesystem": ">=5.2" }, "require-dev": { From a03cd24d601c92c5aebdeb3faa161ae821a2a762 Mon Sep 17 00:00:00 2001 From: Carlos Escobar Date: Tue, 30 Nov 2021 13:15:00 -0600 Subject: [PATCH 2/3] Change directory --- src/{DbExporter => }/Commands/CopyToRemoteCommand.php | 0 src/{DbExporter => }/Commands/GeneratorCommand.php | 0 src/{DbExporter => }/Commands/MigrationsGeneratorCommand.php | 0 src/{DbExporter => }/Commands/SeedGeneratorCommand.php | 0 src/{DbExporter => }/DbExportHandler.php | 0 src/{DbExporter => }/DbExportHandlerServiceProvider.php | 0 src/{DbExporter => }/DbExporter.php | 0 src/{DbExporter => }/DbMigrations.php | 0 src/{DbExporter => }/DbMigrationsServiceProvider.php | 0 src/{DbExporter => }/DbSeeding.php | 0 src/{DbExporter => }/Exceptions/InvalidDatabaseException.php | 0 src/{DbExporter => }/Facades/DbExportHandler.php | 0 src/{DbExporter => }/Facades/DbMigrations.php | 0 src/{DbExporter => }/SeederHelper.php | 0 src/{DbExporter => }/stubs/migration.stub | 0 src/{DbExporter => }/stubs/seed.stub | 0 16 files changed, 0 insertions(+), 0 deletions(-) rename src/{DbExporter => }/Commands/CopyToRemoteCommand.php (100%) rename src/{DbExporter => }/Commands/GeneratorCommand.php (100%) rename src/{DbExporter => }/Commands/MigrationsGeneratorCommand.php (100%) rename src/{DbExporter => }/Commands/SeedGeneratorCommand.php (100%) rename src/{DbExporter => }/DbExportHandler.php (100%) rename src/{DbExporter => }/DbExportHandlerServiceProvider.php (100%) rename src/{DbExporter => }/DbExporter.php (100%) rename src/{DbExporter => }/DbMigrations.php (100%) rename src/{DbExporter => }/DbMigrationsServiceProvider.php (100%) rename src/{DbExporter => }/DbSeeding.php (100%) rename src/{DbExporter => }/Exceptions/InvalidDatabaseException.php (100%) rename src/{DbExporter => }/Facades/DbExportHandler.php (100%) rename src/{DbExporter => }/Facades/DbMigrations.php (100%) rename src/{DbExporter => }/SeederHelper.php (100%) rename src/{DbExporter => }/stubs/migration.stub (100%) rename src/{DbExporter => }/stubs/seed.stub (100%) diff --git a/src/DbExporter/Commands/CopyToRemoteCommand.php b/src/Commands/CopyToRemoteCommand.php similarity index 100% rename from src/DbExporter/Commands/CopyToRemoteCommand.php rename to src/Commands/CopyToRemoteCommand.php diff --git a/src/DbExporter/Commands/GeneratorCommand.php b/src/Commands/GeneratorCommand.php similarity index 100% rename from src/DbExporter/Commands/GeneratorCommand.php rename to src/Commands/GeneratorCommand.php diff --git a/src/DbExporter/Commands/MigrationsGeneratorCommand.php b/src/Commands/MigrationsGeneratorCommand.php similarity index 100% rename from src/DbExporter/Commands/MigrationsGeneratorCommand.php rename to src/Commands/MigrationsGeneratorCommand.php diff --git a/src/DbExporter/Commands/SeedGeneratorCommand.php b/src/Commands/SeedGeneratorCommand.php similarity index 100% rename from src/DbExporter/Commands/SeedGeneratorCommand.php rename to src/Commands/SeedGeneratorCommand.php diff --git a/src/DbExporter/DbExportHandler.php b/src/DbExportHandler.php similarity index 100% rename from src/DbExporter/DbExportHandler.php rename to src/DbExportHandler.php diff --git a/src/DbExporter/DbExportHandlerServiceProvider.php b/src/DbExportHandlerServiceProvider.php similarity index 100% rename from src/DbExporter/DbExportHandlerServiceProvider.php rename to src/DbExportHandlerServiceProvider.php diff --git a/src/DbExporter/DbExporter.php b/src/DbExporter.php similarity index 100% rename from src/DbExporter/DbExporter.php rename to src/DbExporter.php diff --git a/src/DbExporter/DbMigrations.php b/src/DbMigrations.php similarity index 100% rename from src/DbExporter/DbMigrations.php rename to src/DbMigrations.php diff --git a/src/DbExporter/DbMigrationsServiceProvider.php b/src/DbMigrationsServiceProvider.php similarity index 100% rename from src/DbExporter/DbMigrationsServiceProvider.php rename to src/DbMigrationsServiceProvider.php diff --git a/src/DbExporter/DbSeeding.php b/src/DbSeeding.php similarity index 100% rename from src/DbExporter/DbSeeding.php rename to src/DbSeeding.php diff --git a/src/DbExporter/Exceptions/InvalidDatabaseException.php b/src/Exceptions/InvalidDatabaseException.php similarity index 100% rename from src/DbExporter/Exceptions/InvalidDatabaseException.php rename to src/Exceptions/InvalidDatabaseException.php diff --git a/src/DbExporter/Facades/DbExportHandler.php b/src/Facades/DbExportHandler.php similarity index 100% rename from src/DbExporter/Facades/DbExportHandler.php rename to src/Facades/DbExportHandler.php diff --git a/src/DbExporter/Facades/DbMigrations.php b/src/Facades/DbMigrations.php similarity index 100% rename from src/DbExporter/Facades/DbMigrations.php rename to src/Facades/DbMigrations.php diff --git a/src/DbExporter/SeederHelper.php b/src/SeederHelper.php similarity index 100% rename from src/DbExporter/SeederHelper.php rename to src/SeederHelper.php diff --git a/src/DbExporter/stubs/migration.stub b/src/stubs/migration.stub similarity index 100% rename from src/DbExporter/stubs/migration.stub rename to src/stubs/migration.stub diff --git a/src/DbExporter/stubs/seed.stub b/src/stubs/seed.stub similarity index 100% rename from src/DbExporter/stubs/seed.stub rename to src/stubs/seed.stub From 61c27c3c697744149ba9b64b0b4ffdbe10836854 Mon Sep 17 00:00:00 2001 From: Carlos Escobar Date: Tue, 30 Nov 2021 15:03:40 -0600 Subject: [PATCH 3/3] Fix error --- src/DbExportHandlerServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DbExportHandlerServiceProvider.php b/src/DbExportHandlerServiceProvider.php index 0156fbb..2f35d2e 100644 --- a/src/DbExportHandlerServiceProvider.php +++ b/src/DbExportHandlerServiceProvider.php @@ -33,13 +33,13 @@ public function boot(DbMigrations $migrator) { $this->publishes( [ - realpath(__DIR__ . '/../') . '/config/db-exporter.php' => config_path('db-exporter.php'), + realpath(__DIR__) . '/config/db-exporter.php' => config_path('db-exporter.php'), ], 'config' ); $this->mergeConfigFrom( - realpath(__DIR__ . '/../') . '/config/db-exporter.php', + realpath(__DIR__) . '/config/db-exporter.php', 'db-exporter' ); // Instatiate a new DbMigrations class to send to the handler