-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Class 'Spatie\LaravelSettings\SettingsMigration' not found #10
Comments
It might just be simply that you have the wrong FQCN, which should actually be |
That's correct, @alexjustesen added a PR that solves this: #9. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My Migration file (same as your example):
`use Spatie\LaravelSettings\SettingsMigration;
class CreateGeneralSettings extends SettingsMigration
{
public function up(): void
{
$this->migrator->add('general.site_name', 'Spatie');
$this->migrator->add('general.site_active', true);
}
}`
When I proceed to run 'php artisan migrate' I get the following error:
Class 'Spatie\LaravelSettings\SettingsMigration' not found
Any ideas what I'm doing wrong?
Cheers
The text was updated successfully, but these errors were encountered: