Skip to content

Commit 3fb50d0

Browse files
committed
fix: #138 database not exist
1 parent 9b016df commit 3fb50d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ If you have problems, try these methods:
172172

173173
- PHP Framework: [Laravel](https://laravel.com/)
174174
- Coding standard: following [PSR-12](http://www.php-fig.org/psr/psr-12/). run `./lint.sh`
175-
- Unit Test: using PHPUnit. run `./phpunit.sh`
175+
- Unit Test: using PHPUnit. run `php artisan test`

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"scripts": {
3636
"post-autoload-dump": [
3737
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
38+
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
3839
"@php artisan package:discover --ansi"
3940
],
4041
"post-update-cmd": [
@@ -45,7 +46,6 @@
4546
],
4647
"post-create-project-cmd": [
4748
"@php artisan key:generate --ansi",
48-
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
4949
"@php artisan migrate --graceful --ansi"
5050
],
5151
"dev": [

0 commit comments

Comments
 (0)