SQLite for local dev (#6322)

* update values for a sqlite default world

* migrate on post create project

* touch database

* fix typo
This commit is contained in:
Taylor Otwell
2024-01-20 16:02:54 -06:00
committed by GitHub
parent b1502f3c07
commit e23c0c1bfd
3 changed files with 25 additions and 9 deletions

View File

@@ -43,7 +43,9 @@
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --ansi"
]
},
"extra": {