-
Notifications
You must be signed in to change notification settings - Fork 193
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
Migration error [Laravel 8.8, pagebuilder 0.24] #146
Comments
Any update on this topic? I've got the same error in a fresh laravel app. EDIT: Okay I fixed it by creating two tables in the database:
After that just run |
once php artisan vendor:publish, remove the database prefix in cofig file to complete the config:cache. |
`composer require hansschouten/laravel-pagebuilder //ok
php artisan vendor:publish --provider="HansSchouten\LaravelPageBuilder\ServiceProvider" --tag=config //ok
php artisan migrate
PDOException
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pb.pagebuilder__settings' doesn't exist
at D:\www\pb\vendor\hansschouten\phpagebuilder\src\Core\DB.php:65
61▕ $stmt = $this->pdo->prepare("SELECT {$columns} FROM {$table}");
62▕ } else {
63▕ $stmt = $this->pdo->prepare("SELECT * FROM {$table}");
66▕ return $stmt->fetchAll();
67▕ }
68▕
69▕ /**
1 D:\www\pb\vendor\hansschouten\phpagebuilder\src\Core\DB.php:65
PDOStatement::execute()
2 D:\www\pb\vendor\hansschouten\phpagebuilder\src\Repositories\BaseRepository.php:156
PHPageBuilder\Core\DB::all("pagebuilder__settings", "*")`
The text was updated successfully, but these errors were encountered: