Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# User specific & automatically generated files #
#################################################
/composer.lock
/phpunit.xml
/phpcs.xml
/vendor
/build

# IDE and editor specific files #
#################################
/nbproject
/.idea

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
*.mo
*.phpunit.result.cache
4 changes: 2 additions & 2 deletions ConsoleServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public function register()
*/
protected function registerFreshCommand()
{
$this->app->singleton('command.migrate.fresh', static function () {
return new FreshCommand();
$this->app->singleton('command.migrate.fresh', static function (Container $app) {
return new FreshCommand($app->make('migrator'));
});
}

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "orchestra/database",
"name": "andychukse/database",
"description": "Database Component for Orchestra Platform",
"keywords": ["orchestra-platform", "orchestral", "database"],
"license": "MIT",
Expand All @@ -22,10 +22,10 @@
},
"require": {
"php": "^7.4 || ^8.0",
"illuminate/contracts": "^9.0",
"illuminate/database": "^9.0",
"illuminate/support": "^9.0",
"laravie/query-filter": "dev-master"
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/database": "^9.0 || ^10.0 || ^11.0 || ^12.0",
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0",
"andychukse/query-filter": "dev-master"
},
"suggest": {
"laravie/query-filter": "Allow to use whereLike query builder macros with Laravel (dev-master)."
Expand Down