Skip to content

Commit

Permalink
Merge branch 'main' of github.com:envor/laravel-managed-databases
Browse files Browse the repository at this point in the history
  • Loading branch information
inmanturbo committed Feb 12, 2024
2 parents 7c681e4 + 988d6d0 commit 5147805
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

All notable changes to `laravel-managed-databases` will be documented in this file.

## v1.1.3 - 2024-02-12

### What's Changed

* add testing connections by @inmanturbo in https://github.com/envor/laravel-managed-databases/pull/7
* add support for in memory database by @inmanturbo in https://github.com/envor/laravel-managed-databases/pull/8

**Full Changelog**: https://github.com/envor/laravel-managed-databases/compare/v1.1.0...v1.1.3

## v1.1.2 - 2024-02-12

**Full Changelog**: https://github.com/envor/laravel-managed-databases/compare/v1.1.1...v1.1.2

## v1.1.1 - 2024-02-11

**Full Changelog**: https://github.com/envor/laravel-managed-databases/commits/v1.1.1
Expand Down
1 change: 0 additions & 1 deletion src/ManagedDatabases.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public static function createsInMemoryConnectionConfig(string|Stringable $databa
return $database;
}


public static function restoreCurrentConnection()
{
DB::purge('current');
Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigureDatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
expect(config('database.connections.testing_123.database'))->toBe(':memory:');

expect(config('database.default'))->toBe('testing_123');
});
});

0 comments on commit 5147805

Please sign in to comment.