Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent running migration on sqlite when testing #180

Closed
wants to merge 1 commit into from

Conversation

lloricode
Copy link

To prevent this on test:

RuntimeException: Unsupported database driver [sqlite]. in /home/runner/work/laravel-filament-ecommerce/laravel-filament-ecommerce/database/migrations/2023_06_07_000001_create_pulse_tables.php:36

To prevent this on test:

```
RuntimeException: Unsupported database driver [sqlite]. in /home/runner/work/laravel-filament-ecommerce/laravel-filament-ecommerce/database/migrations/2023_06_07_000001_create_pulse_tables.php:36
```
@driesvints
Copy link
Member

Disable pulse during tests with PULSE_ENABLED

@driesvints driesvints closed this Dec 7, 2023
@lloricode
Copy link
Author

Disable pulse during tests with PULSE_ENABLED

Hi already did,

    <env name="PULSE_ENABLED" value="false"/>

but still migration still included on running migration,

this cause issue after the migration available for publish

@lloricode lloricode deleted the patch-1 branch December 7, 2023 15:58
@timacdonald
Copy link
Member

Hey, we no longer implicitly include migrations into the application.

Migrations have to be published. This means you own the migrations and can add this in your own applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants