Hi,
In my extension I used the following code to interact with database:
use Illuminate\Database\Capsule\Manager as DB;
...
{
$count = DB::table('login_providers')->where('provider', '=', 'nbdomainlogin')->count();
}
It works well before, but not after I update to version 1.0.4. I used table prefix "flarum_" in the new forum.
The errors are:
Base table or view not found: 1146 Table 'flarum.flarum_flarum_login_providers' doesn't exist
It looks like the prefix get 'doubled' .
Any help is appreciated.
Thanks
Jeff