diff --git a/CHANGELOG.md b/CHANGELOG.md index efdefbb..92e7b17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to `one-app` will be documented in this file. +## v1.0.30 - 2024-07-10 + +### What's Changed + +* bootstrap shared migrations middleware by @inmanturbo in https://github.com/envor/one-app/pull/38 + +**Full Changelog**: https://github.com/envor/one-app/compare/v1.0.29...v1.0.30 + ## v1.0.29 - 2024-07-10 ### What's Changed diff --git a/src/OneAppServiceProvider.php b/src/OneAppServiceProvider.php index 999bd0b..12af424 100644 --- a/src/OneAppServiceProvider.php +++ b/src/OneAppServiceProvider.php @@ -15,11 +15,6 @@ class OneAppServiceProvider extends PackageServiceProvider { public function configurePackage(Package $package): void { - /* - * This class is a Package Service Provider - * - * More info: https://github.com/spatie/laravel-package-tools - */ $package ->name('one-app') ->hasCommands([ diff --git a/stubs/one-app/database/migrations/platform/2024_02_22_212041_create_datastores_table.php b/stubs/one-app/database/migrations/platform/2024_02_22_212041_create_datastores_table.php index bfda42f..c4a4e2d 100644 --- a/stubs/one-app/database/migrations/platform/2024_02_22_212041_create_datastores_table.php +++ b/stubs/one-app/database/migrations/platform/2024_02_22_212041_create_datastores_table.php @@ -6,11 +6,6 @@ return new class extends Migration { - public function getConnection() - { - return config('database.platform', 'testing'); - } - public function up() { Schema::create('datastores', function (Blueprint $table) { @@ -23,4 +18,9 @@ public function up() $table->timestamps(); }); } + + public function down() + { + Schema::dropIfExists('datastores'); + } };