You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing a new project with the eloquent driver and setup repository. When installing de new project trough the repository the composer install gives a error on the package discover composer script.
When installing with --no-scripts there is no error but then you can't run the migrate command. You get the same error.
The error is:
SQLSTATE[HY000]: General error: 1 no such table: sites (Connection: sqlite, SQL: select * from "sites")
How to reproduce
Create new project with statamic new.
Select storing content and data in de database.
Select initialize repository
Select your database of choice
Select to store everything in the database
Commit everything
The project is now setup.
Run git clean command to mimic a new clone: git clean -fdX
Then run composer install. Or after composer install --no-scripts run php artisan migrate
Bug description
After installing a new project with the eloquent driver and setup repository. When installing de new project trough the repository the composer install gives a error on the package discover composer script.
When installing with --no-scripts there is no error but then you can't run the migrate command. You get the same error.
The error is:
How to reproduce
Create new project with
statamic new
.Select storing content and data in de database.
Select initialize repository
Select your database of choice
Select to store everything in the database
Commit everything
The project is now setup.
Run git clean command to mimic a new clone:
git clean -fdX
Then run
composer install
. Or aftercomposer install --no-scripts
runphp artisan migrate
Logs
Environment
Additional details
After changing the sites driver to file you can run the migration and it works. After this everything works normal
The text was updated successfully, but these errors were encountered: