Skip to content

Commit

Permalink
feat: add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahamgreyson committed Dec 30, 2023
1 parent d442bfb commit d380cc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"php": "^8.0",
"ext-pdo_sqlite": "*",
"spatie/laravel-package-tools": "^1.13",
"illuminate/contracts": "^8|^9",
"illuminate/support": "^8|^9",
"illuminate/contracts": "^8.0|^9.0|^10.0",
"illuminate/support": "^8.0|^9.0|^10.0",
"symfony/process": "^6.0"
},
"require-dev": {
Expand Down
3 changes: 2 additions & 1 deletion src/ChineseRegionsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Abe\ChineseRegionsForLaravel;

use Abe\ChineseRegions\Commands\ChineseRegionsCommand;
use Abe\ChineseRegionsForLaravel\Commands\ChineseRegionsCommand;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

Expand All @@ -18,6 +18,7 @@ public function configurePackage(Package $package): void
$package
->name('chinese-regions-for-laravel')
->hasMigration('create_chinese_regions_table')
->runsMigrations()
->hasCommand(ChineseRegionsCommand::class);
}
}

0 comments on commit d380cc0

Please sign in to comment.