-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Description
When I go trough Self-host on a php artisan key:generate I get error
Class "LibSQL" not found at vendor\tursodatabase\turso-driver-laravel\src\Database\LibSQLDatabase.php:28
Expected Behavior:
Should be generated php key
Actual Behavior
Error
Class "LibSQL" not found
at vendor\tursodatabase\turso-driver-laravel\src\Database\LibSQLDatabase.php:28
24▕
25▕ if ($this->connection_mode === 'local') {
26▕
27▕ $url = \str_replace('file:', '', database_path($config['url']));
➜ 28▕ $this->db = new LibSQL("file:$url", LibSQL::OPEN_READWRITE | LibSQL::OPEN_CREATE, $config['encryptionKey']);
29▕
30▕ } elseif ($this->connection_mode === 'memory') {
31▕
32▕ $this->db = new LibSQL($libsql['uri']);
1 vendor\tursodatabase\turso-driver-laravel\src\Database\LibSQLConnectionFactory.php:13
Turso\Driver\Laravel\Database\LibSQLDatabase::__construct()
2 vendor\laravel\framework\src\Illuminate\Database\Connectors\ConnectionFactory.php:76
Turso\Driver\Laravel\Database\LibSQLConnectionFactory::createConnection("sqlite", Object(Closure), "D:\openalbion\database\database.sqlite", "")
Steps to Reproduce
git clone https://github.com/OpenAlbion/api.git openalbion
cd openalbion
composer install
cp .env.example .env
php artisan key:generate
OS: Windows 10 Pro
Metadata
Metadata
Assignees
Labels
No labels